Soft'N'Design Software
/
projects
/
trivabble.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d74fa69
)
use getSetting for API_ENTRY_POINT
author
Raphaël Jakse
<raphael.trivabble@jakse.fr>
Sun, 22 Nov 2020 10:17:40 +0000
(11:17 +0100)
committer
Raphaël Jakse
<raphael.trivabble@jakse.fr>
Sun, 22 Nov 2020 10:17:40 +0000
(11:17 +0100)
public/trivabble.js
patch
|
blob
|
blame
|
history
diff --git
a/public/trivabble.js
b/public/trivabble.js
index a30090e9cb6e24e996296d74da4a755f87ccbedd..2d75605da82cb1064672501def9aca5e366ea67f 100644
(file)
--- 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;
}