summaryrefslogtreecommitdiff
path: root/static/fullnarp.js
diff options
context:
space:
mode:
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');