diff options
Diffstat (limited to 'static/fullnarp.js')
| -rw-r--r-- | static/fullnarp.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/fullnarp.js b/static/fullnarp.js index c4e24f4..34a59c4 100644 --- a/static/fullnarp.js +++ b/static/fullnarp.js | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | let ws; // WebSocket instance | 1 | let ws; // WebSocket instance |
| 2 | let allrooms = ['1','2','3'] | 2 | let allrooms = ['1','2','3','4'] |
| 3 | let allminutes = ['00','05','10','15','20','25','30','35','40','45','50','55'] | 3 | let allminutes = ['00','05','10','15','20','25','30','35','40','45','50','55'] |
| 4 | let allhours = ['10','11','12','13','14','15','16','17','18','19','20','21','22','23','00','01','02']; | 4 | let allhours = ['10','11','12','13','14','15','16','17','18','19','20','21','22','23','00','01','02']; |
| 5 | let alldays = ['1','2','3','4']; | 5 | let alldays = ['1','2','3','4']; |
| @@ -395,7 +395,7 @@ function signalFullnarpConnect(state) { | |||
| 395 | 395 | ||
| 396 | function getFullnarpData() { | 396 | function getFullnarpData() { |
| 397 | signalFullnarpConnect('fullnarp-connecting'); | 397 | signalFullnarpConnect('fullnarp-connecting'); |
| 398 | connect = window.location.href.replace('http', 'ws') + '/ws/'; | 398 | connect = window.location.href.replace('http', 'ws') + 'ws/'; |
| 399 | ws = new WebSocket(connect); | 399 | ws = new WebSocket(connect); |
| 400 | 400 | ||
| 401 | ws.onopen = () => { | 401 | ws.onopen = () => { |
