web/layout: specify full path in og:url

This commit is contained in:
dumbmoron 2024-09-09 15:04:25 +00:00
parent 15a90e9b11
commit 1b639edac8
No known key found for this signature in database

View file

@ -42,7 +42,7 @@
<meta property="og:description" content={$t("general.embed.description")}> <meta property="og:description" content={$t("general.embed.description")}>
{#if env.HOST} {#if env.HOST}
<meta property="og:url" content="https://{env.HOST}/"> <meta property="og:url" content="https://{env.HOST}{$page.url.pathname}">
{/if} {/if}
{#if device.is.mobile} {#if device.is.mobile}