fix: wrong property
This commit is contained in:
parent
056c1de31f
commit
4dcac43e73
|
@ -78,7 +78,7 @@ export default function Root() {
|
||||||
fetch('/api/meta')
|
fetch('/api/meta')
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
.then(data => {
|
.then(data => {
|
||||||
setPortalUrl(`https://${data.portalUrl}`);
|
setPortalUrl(`https://${data.domain}`);
|
||||||
})
|
})
|
||||||
.catch((error: any) => {
|
.catch((error: any) => {
|
||||||
console.error('Failed to fetch portal url:', error);
|
console.error('Failed to fetch portal url:', error);
|
||||||
|
|
Loading…
Reference in New Issue