Ability to override defaultApiUrl

This commit is contained in:
vonProteus
2024-09-01 06:08:37 +02:00
parent 8eda0dcb1d
commit c1aece8200
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,4 @@
let apiUri = `${window.location.protocol}//${window.location.host.split(':')[0]}:6531`
if(getCookie("apiUri") != ""){
if(getCookie("apiUri") != ""){
apiUri = getCookie("apiUri");
}
setCookie("apiUri", apiUri);