Use server detected host for sharing URLs
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<script>
|
||||
import { onMount } from 'svelte'
|
||||
import { stores } from '@sapper/app'
|
||||
import { site, pageReady, pageTransition } from '../utils/store'
|
||||
|
||||
// Components
|
||||
@@ -14,6 +15,9 @@
|
||||
import { animateIn } from '../animations/page'
|
||||
pageTransition.onAnimationEnd = animateIn
|
||||
|
||||
// Variables
|
||||
const { page } = stores()
|
||||
|
||||
|
||||
/*
|
||||
** Run code when mounted
|
||||
@@ -28,7 +32,7 @@
|
||||
<title>{$site.seo_name} - Credits</title>
|
||||
<meta name="description" content={$site.credits_text}>
|
||||
<SocialMetas
|
||||
url="https://housesof.world/credits"
|
||||
url="https://{$page.host}/credits"
|
||||
title="{$site.seo_name} - Credits"
|
||||
description={$site.credits_text}
|
||||
image={$site.seo_share_image.full_url}
|
||||
|
||||
Reference in New Issue
Block a user