Created
June 5, 2021 21:43
-
-
Save jacekkopecky/86ddd47e72676f37b0e848f6d773e505 to your computer and use it in GitHub Desktop.
Code for sending GNU Terry Pratchett with Express.JS servers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// "A man is not dead while his name is still spoken." | |
// - Going Postal, Chapter 4 prologue | |
app.use((req, res, next) => { | |
res.set('X-Clacks-Overhead', 'GNU Terry Pratchett'); | |
next(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment