Fix favicon provide
This commit is contained in:
parent
cddfc55110
commit
f1d07dfbed
@ -44,7 +44,7 @@ app.use(views(__dirname + '/views', {
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
// Serve favicon
|
// Serve favicon
|
||||||
app.use(favicon(`${client}/assets/favicon.png`));
|
app.use(favicon(`${__dirname}/../../../assets/favicon.png`));
|
||||||
|
|
||||||
// Common request handler
|
// Common request handler
|
||||||
app.use(async (ctx, next) => {
|
app.use(async (ctx, next) => {
|
||||||
|
@ -13,7 +13,7 @@ html
|
|||||||
meta(name='theme-color' content='#86b300')
|
meta(name='theme-color' content='#86b300')
|
||||||
meta(property='og:site_name' content= instanceName || 'Misskey')
|
meta(property='og:site_name' content= instanceName || 'Misskey')
|
||||||
meta(name='viewport' content='width=device-width, initial-scale=1')
|
meta(name='viewport' content='width=device-width, initial-scale=1')
|
||||||
link(rel='icon' href= icon || '/favicon.png')
|
link(rel='icon' href= icon || '/favicon.ico')
|
||||||
link(rel='apple-touch-icon' href= icon || '/apple-touch-icon.png')
|
link(rel='apple-touch-icon' href= icon || '/apple-touch-icon.png')
|
||||||
link(rel='manifest' href='/manifest.json')
|
link(rel='manifest' href='/manifest.json')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user