api/core: remove favicon
This commit is contained in:
parent
012fadd2f0
commit
f66ae63d57
1 changed files with 2 additions and 2 deletions
|
@ -198,11 +198,11 @@ export function runAPI(express, app, gitCommit, gitBranch, __dirname) {
|
||||||
})
|
})
|
||||||
|
|
||||||
app.get('/favicon.ico', (req, res) => {
|
app.get('/favicon.ico', (req, res) => {
|
||||||
res.sendFile(`${__dirname}/src/front/icons/favicon.ico`)
|
res.status(404).end();
|
||||||
})
|
})
|
||||||
|
|
||||||
app.get('/*', (req, res) => {
|
app.get('/*', (req, res) => {
|
||||||
res.redirect('/api/serverInfo')
|
res.redirect('/api/serverInfo');
|
||||||
})
|
})
|
||||||
|
|
||||||
randomizeCiphers();
|
randomizeCiphers();
|
||||||
|
|
Loading…
Reference in a new issue