summaryrefslogtreecommitdiff
path: root/static/fullnarp.js
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2025-01-06 02:43:01 +0000
committerDirk Engling <erdgeist@erdgeist.org>2025-01-06 02:43:01 +0000
commita4f3645eb75a74b3dbd2f499d8094be9559adfb2 (patch)
tree64d43f895694c98bdbef2da9a85621974577e528 /static/fullnarp.js
parent780835e52c009f2ecbeca79f656b04577b8fcd64 (diff)
Cleanup
Diffstat (limited to 'static/fullnarp.js')
-rw-r--r--static/fullnarp.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/static/fullnarp.js b/static/fullnarp.js
index a6cef96..c4e24f4 100644
--- a/static/fullnarp.js
+++ b/static/fullnarp.js
@@ -395,7 +395,8 @@ function signalFullnarpConnect(state) {
395 395
396function getFullnarpData() { 396function getFullnarpData() {
397 signalFullnarpConnect('fullnarp-connecting'); 397 signalFullnarpConnect('fullnarp-connecting');
398 ws = new WebSocket('wss://content.events.ccc.de/fullnarp/ws/'); 398 connect = window.location.href.replace('http', 'ws') + '/ws/';
399 ws = new WebSocket(connect);
399 400
400 ws.onopen = () => { 401 ws.onopen = () => {
401 console.log('Connected to WebSocket server'); 402 console.log('Connected to WebSocket server');