mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-28 18:46:09 +00:00
api/core: remove favicon
This commit is contained in:
parent
012fadd2f0
commit
f66ae63d57
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue