Use PROD url for metas instead of host

This commit is contained in:
2020-05-07 14:22:16 +02:00
parent e98d90f5ab
commit f8cfa60aca
7 changed files with 7 additions and 7 deletions

View File

@@ -99,7 +99,7 @@
<title>{$site.seo_name} {$site.seo_title_default} of {location.name}, {country.name}</title>
<meta name="description" content="{$site.seo_name} {location.name} {description}">
<SocialMetas
url="https://{$page.host}/location/{country.slug}/{location.slug}"
url="{process.env.CONFIG.PROD_URL}/location/{country.slug}/{location.slug}"
title="{$site.seo_name} {$site.seo_title_default} of {location.name}, {country.name}"
description="{$site.seo_name} {location.name} {description}"
image={latestPhoto ? getThumbnail(latestPhoto.image.private_hash, 1200, 630) : null}