diff --git a/api/src/core/api.js b/api/src/core/api.js index 3ce0265b..5930c8b4 100644 --- a/api/src/core/api.js +++ b/api/src/core/api.js @@ -198,11 +198,11 @@ export function runAPI(express, app, gitCommit, gitBranch, __dirname) { }) app.get('/favicon.ico', (req, res) => { - res.sendFile(`${__dirname}/src/front/icons/favicon.ico`) + res.status(404).end(); }) app.get('/*', (req, res) => { - res.redirect('/api/serverInfo') + res.redirect('/api/serverInfo'); }) randomizeCiphers();