fix: use open graph images on `elk.zone`

zio/stable
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')) { if (process.server && !route.path.startsWith('/settings')) {
useHead({ useHead({
meta: [ 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:title', content: 'Elk' },
{ property: 'og:description', content: 'A nimble Mastodon web client' }, { property: 'og:description', content: 'A nimble Mastodon web client' },
{ property: 'og:type', content: 'website' }, { 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:width', content: '3800' },
{ property: 'og:image:height', content: '1900' }, { property: 'og:image:height', content: '1900' },
{ property: 'og:site_name', content: 'Elk' }, { property: 'og:site_name', content: 'Elk' },