chore: test open graph on edge

zio/stable
Daniel Roe 2023-01-11 22:51:23 +00:00
parent 3a66944080
commit 3add7a5f40
2 changed files with 3 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://elk.zone${route.path}` }, { property: 'og:url', content: `https://main.elk.zone${route.path}` },
], ],
}) })
} }

View File

@ -120,8 +120,9 @@ export default defineNuxtConfig({
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' }, { name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' },
// open graph social image // open graph social image
{ property: 'og:title', content: 'Elk' }, { property: 'og:title', content: 'Elk' },
{ property: 'og:description', content: 'A nimble Mastodon web client' },
{ property: 'og:type', content: 'website' }, { property: 'og:type', content: 'website' },
{ property: 'og:image', content: 'https://elk.zone/elk-og.png' }, { property: 'og:image', content: 'https://main.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' },