use getSetting for API_ENTRY_POINT

This commit is contained in:
Raphaël Jakse 2020-11-22 11:17:40 +01:00
parent d74fa69464
commit 66c3d65f2b
1 changed files with 1 additions and 1 deletions

View File

@ -1303,7 +1303,7 @@
closeConnections();
pollingServer = true;
eventSource = new EventSource(Conf.API_ENTRY_POINT + "/sse/" + JSON.stringify(cmdsWithContext()));
eventSource = new EventSource(getSetting("API_ENTRY_POINT") + "/sse/" + JSON.stringify(cmdsWithContext()));
bindConnectionEvents(eventSource);
return;
}