(fix): More general address calculation

This commit is contained in:
Davide Passoni
2024-12-06 17:09:57 +01:00
parent b57d6b305a
commit ffade5fb8e
4 changed files with 23 additions and 23 deletions

View File

@@ -164,7 +164,7 @@ export class ServerManager {
getConfig(callback: CallableFunction) {
var xmlHttp = new XMLHttpRequest();
xmlHttp.open("GET", getApp().getExpressAddress() + "/config", true);
xmlHttp.open("GET", getApp().getExpressAddress() + "config", true);
xmlHttp.onload = function (e) {
var data = JSON.parse(xmlHttp.responseText);
callback(data);