Skip to content

Commit

Permalink
fix(panel): add missing favicon
Browse files Browse the repository at this point in the history
Fixes #4744
  • Loading branch information
sogehige committed Aug 10, 2021
1 parent 10b96f3 commit 3b23120
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion src/panel.ts
Expand Up @@ -218,7 +218,7 @@ export const init = () => {
res.sendFile(path.join(__dirname, '..', 'fonts.json'));
});
app?.get('/favicon.ico', function (req, res) {
res.sendFile(path.join(__dirname, '..', 'public', 'favicon.ico'));
res.sendFile(path.join(__dirname, '..', 'favicon.ico'));
});
app?.get('/:page?', function (req, res) {
res.sendFile(path.join(__dirname, '..', 'node_modules', '@sogebot', 'ui-admin', 'dist', 'index.html'));
Expand Down

0 comments on commit 3b23120

Please sign in to comment.