Set website production url correctly for NGINX

This commit is contained in:
thiloho
2024-09-07 15:07:31 +02:00
parent 958b8e3643
commit 05a15241f6
2 changed files with 8 additions and 3 deletions

View File

@@ -7,8 +7,6 @@
const { data, form }: { data: PageServerData; form: ActionData } = $props();
const prodWebsiteUrl = data.websitePreviewUrl.replace("/previews", "");
let sending = $state(false);
</script>
@@ -56,7 +54,7 @@
<p>
Your website is published at:
<br />
<a href={prodWebsiteUrl}>{prodWebsiteUrl}</a>
<a href={data.websiteProdUrl}>{data.websiteProdUrl}</a>
</p>
</section>
{/if}