Fixed error in address for configuration

This commit is contained in:
Pax1601 2023-12-02 12:36:42 +01:00
parent 19ac4f92e0
commit 4cdb73a60d

View File

@ -105,7 +105,7 @@ export class ServerManager {
getConfig(callback: CallableFunction) {
var xmlHttp = new XMLHttpRequest();
xmlHttp.open("GET", window.location.href + "config", true);
xmlHttp.open("GET", window.location.href.split('?')[0] + "config", true);
xmlHttp.onload = function (e) {
var data = JSON.parse(xmlHttp.responseText);
callback(data);