From 056c1de31f3a066f26ecb2f5f0ebec412620d5f3 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 26 Mar 2024 00:59:51 -0400 Subject: [PATCH] fix: prefix with https --- app/root.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/root.tsx b/app/root.tsx index 36aaec5..6cfae58 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -78,7 +78,7 @@ export default function Root() { fetch('/api/meta') .then(response => response.json()) .then(data => { - setPortalUrl(data.domain); + setPortalUrl(`https://${data.portalUrl}`); }) .catch((error: any) => { console.error('Failed to fetch portal url:', error);