Skip to content
Snippets Groups Projects
Unverified Commit 6ef9721d authored by Sol Fisher Romanoff's avatar Sol Fisher Romanoff Committed by GitHub
Browse files

fix: add instance favicon where it's missing (#8270)

parent 5c5d3c1a
No related branches found
No related tags found
No related merge requests found
......@@ -276,6 +276,7 @@ router.get('/@:user/pages/:page', async (ctx, next) => {
page: _page,
profile,
instanceName: meta.name || 'Misskey',
icon: meta.iconUrl,
});
if (['public'].includes(page.visibility)) {
......@@ -305,6 +306,7 @@ router.get('/clips/:clip', async (ctx, next) => {
clip: _clip,
profile,
instanceName: meta.name || 'Misskey',
icon: meta.iconUrl,
});
ctx.set('Cache-Control', 'public, max-age=180');
......@@ -350,6 +352,7 @@ router.get('/channels/:channel', async (ctx, next) => {
await ctx.render('channel', {
channel: _channel,
instanceName: meta.name || 'Misskey',
icon: meta.iconUrl,
});
ctx.set('Cache-Control', 'public, max-age=180');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment