Fix wrong return code for favicon

This commit is contained in:
LordMathis 2019-12-07 19:34:28 +01:00
parent feb5f7ccee
commit d7e93f3ac1
No known key found for this signature in database
GPG Key ID: 575849FD91CE470C
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ app.use(helmet.contentSecurityPolicy({
app.use('/static', expressStaticGzip('public/static'))
app.get('/favicon.ico', (req, res) => {
res.status(404).send('Not Found !!!')
res.status(204).send('Not Found !!!')
})
let head = jsonfile.readFileSync(path.join(process.cwd(), 'config/head.json'))