fix: prefix with https
This commit is contained in:
parent
9378a984dd
commit
056c1de31f
|
@ -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(data.domain);
|
setPortalUrl(`https://${data.portalUrl}`);
|
||||||
})
|
})
|
||||||
.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