mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
Refactor: Better comment
This commit is contained in:
parent
27c6ebebc0
commit
5cb338d5b1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user