From c2cf785598c0faa1ec820bd4c13d4a487b62c8bf Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 24 Sep 2024 16:39:55 +0545 Subject: [PATCH] update suggestion --- src/lib/layout/unauthenticated.svelte | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib/layout/unauthenticated.svelte b/src/lib/layout/unauthenticated.svelte index f5d80c51b..72ced96a5 100644 --- a/src/lib/layout/unauthenticated.svelte +++ b/src/lib/layout/unauthenticated.svelte @@ -39,9 +39,9 @@ } } - function getEndpointOrigin() { - const url = new URL(VARS.APPWRITE_ENDPOINT); - return url.origin; + function getImage(image: string) { + const url = new URL(image, VARS.APPWRITE_ENDPOINT); + return url.toString(); } @@ -85,7 +85,7 @@
promo @@ -150,7 +150,7 @@
{#if currentReview?.image} {:else} @@ -169,7 +169,7 @@

provided to you by

{coupon?.campaign
{/if}