From 66c3d65f2b7d5e315a431ae1912c1e3cfb6314b5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Jakse?= Date: Sun, 22 Nov 2020 11:17:40 +0100 Subject: [PATCH] use getSetting for API_ENTRY_POINT --- public/trivabble.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/trivabble.js b/public/trivabble.js index a30090e..2d75605 100644 --- a/public/trivabble.js +++ b/public/trivabble.js @@ -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; } -- 2.30.2