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:
parent
3701d2b125
commit
64394ada44
@ -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"
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user