We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 747314b + 09ec6f5 commit 2ef5704Copy full SHA for 2ef5704
crates/openfang-api/static/js/pages/comms.js
@@ -39,7 +39,7 @@ function commsPage() {
39
startSSE() {
40
if (this.sseSource) this.sseSource.close();
41
var self = this;
42
- var url = OpenFangAPI.baseUrl + '/api/comms/events/stream';
+ var url = '/api/comms/events/stream';
43
if (OpenFangAPI.apiKey) url += '?token=' + encodeURIComponent(OpenFangAPI.apiKey);
44
this.sseSource = new EventSource(url);
45
this.sseSource.onmessage = function(ev) {
0 commit comments