Refactor: Better comment

This commit is contained in:
syuilo 2017-01-14 10:56:24 +09:00
parent 54f182c08d
commit 9dc7187ef7

View File

@ -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);