mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
(fix): More general address calculation
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user