1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-05 00:19:59 +00:00

fix: use open graph images on elk.zone

This commit is contained in:
Daniel Roe 2023-01-12 15:02:58 +00:00
parent cd490fffec
commit dcec32338c
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ const route = useRoute()
if (process.server && !route.path.startsWith('/settings')) {
useHead({
meta: [
{ property: 'og:url', content: `https://main.elk.zone${route.path}` },
{ property: 'og:url', content: `https://elk.zone${route.path}` },
],
})
}

View file

@ -122,7 +122,7 @@ export default defineNuxtConfig({
{ property: 'og:title', content: 'Elk' },
{ property: 'og:description', content: 'A nimble Mastodon web client' },
{ property: 'og:type', content: 'website' },
{ property: 'og:image', content: 'https://main.elk.zone/elk-og.png' },
{ property: 'og:image', content: 'https://elk.zone/elk-og.png' },
{ property: 'og:image:width', content: '3800' },
{ property: 'og:image:height', content: '1900' },
{ property: 'og:site_name', content: 'Elk' },