fix: prefix with https

This commit is contained in:
Derrick Hammer 2024-03-26 00:59:51 -04:00
parent 9378a984dd
commit 056c1de31f
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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);