Use server detected host for sharing URLs
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
|
||||
<script>
|
||||
import { onMount } from 'svelte'
|
||||
import { stores } from '@sapper/app'
|
||||
import {
|
||||
currentLocation,
|
||||
currentPhotos,
|
||||
@@ -55,6 +56,7 @@
|
||||
|
||||
// Props and variables
|
||||
export let photos
|
||||
const { page } = stores()
|
||||
|
||||
// Reset current location if existing
|
||||
$: {
|
||||
@@ -76,7 +78,7 @@
|
||||
<title>{$site.seo_name} - {$site.seo_title_default} planet Earth</title>
|
||||
<meta name="description" content={$site.seo_description_default}>
|
||||
<SocialMetas
|
||||
url="https://housesof.world"
|
||||
url="https://{$page.host}"
|
||||
title="{$site.seo_name} - {$site.seo_title_default} planet Earth"
|
||||
description={$site.seo_description_default}
|
||||
image={$site.seo_share_image.full_url}
|
||||
|
||||
Reference in New Issue
Block a user