fix: wrong property

This commit is contained in:
Derrick Hammer 2024-03-26 01:18:12 -04:00
parent 056c1de31f
commit 4dcac43e73
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(`https://${data.portalUrl}`);
setPortalUrl(`https://${data.domain}`);
})
.catch((error: any) => {
console.error('Failed to fetch portal url:', error);