0
0
mirror of https://github.com/Maks1mS/free-ozon-dpr.git synced 2024-12-23 10:32:58 +03:00

add og:image and og:url

This commit is contained in:
Maxim Slipenko 2024-06-08 21:09:51 +03:00
parent 3701d2b125
commit 64394ada44
2 changed files with 10 additions and 0 deletions

View File

@ -19,6 +19,7 @@
content="Найдите ближайший пункт выдачи заказов Озон в ДНР и воспользуйтесь бесплатной доставкой."
/>
<meta property="og:type" content="website" />
<meta property="og:image" content="https://cdn1.ozone.ru/s3/cms/logo/og_ozon_ru.png" />
<link
href="https://fonts.googleapis.com/css2?family=Roboto&display=swap"
rel="stylesheet"

View File

@ -11,6 +11,15 @@ if (process.env.YANDEX_VERIFICATION) {
})
}
const PUBLIC_URL = process.env.PUBLIC_URL || process.env.VERCEL_URL
if (PUBLIC_URL) {
metas.push({
name: 'og:url',
content: 'https://' + PUBLIC_URL
})
}
export default {
root: "src",