mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-28 20:40:12 +02: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…
x
Reference in New Issue
Block a user