From 5cb338d5b1099f7375e55a24a1856383297ba24d Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 14 Jan 2017 10:56:24 +0900 Subject: [PATCH] Refactor: Better comment --- src/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.ts b/src/server.ts index 5ab6f3be5..b8646efd1 100644 --- a/src/server.ts +++ b/src/server.ts @@ -14,7 +14,7 @@ import vhost = require('vhost'); const app = express(); app.disable('x-powered-by'); -// Reject request that without 'Host' header +// Drop request that without 'Host' header app.use((req, res, next) => { if (!req.headers.host) { res.sendStatus(400);