Fix favicon provide
This commit is contained in:
parent
cddfc55110
commit
f1d07dfbed
2 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ app.use(views(__dirname + '/views', {
|
|||
}));
|
||||
|
||||
// Serve favicon
|
||||
app.use(favicon(`${client}/assets/favicon.png`));
|
||||
app.use(favicon(`${__dirname}/../../../assets/favicon.png`));
|
||||
|
||||
// Common request handler
|
||||
app.use(async (ctx, next) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue