diff options
Diffstat (limited to 'static/fullnarp.js')
| -rw-r--r-- | static/fullnarp.js | 3 |
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 | ||
| 396 | function getFullnarpData() { | 396 | function 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'); |
