From 575ff685f95a1db67c7f54da6de8fcbcc3f7f0cc Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Fri, 27 Jan 2017 20:14:44 +0100 Subject: [PATCH] Mention package behind server This closes #85 --- lib/server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/server.js b/lib/server.js index 8f60db7d..7b91846d 100644 --- a/lib/server.js +++ b/lib/server.js @@ -157,6 +157,7 @@ module.exports = async (req, res, flags, current, ignoredFiles) => { const contentType = mime.contentType(path.extname(related)) || mime.contentType('text') res.setHeader('Content-Type', contentType) + res.setHeader('X-Powered-By', 'https://github.com/zeit/serve') if (binaryStat) { res.statusCode = statusCode