[TASK] autoselect https websocket (wss)
This commit is contained in:
parent
75f3bae1f4
commit
e02273e0ef
|
@ -5,14 +5,17 @@
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
'title': 'FreifunkManager - Breminale',
|
'title': 'FreifunkManager - Breminale',
|
||||||
'backend': `ws://${location.host}/websocket`,
|
'backend': `ws${location.protocol == 'https:' ? 's' : ''}://${location.host}/websocket`,
|
||||||
'node': {
|
'node': {
|
||||||
// Minuten till is shown as offline
|
// Minuten till is shown as offline
|
||||||
'offline': 5
|
'offline': 5
|
||||||
},
|
},
|
||||||
'map': {
|
'map': {
|
||||||
'view': {
|
'view': {
|
||||||
'bound': [53.07103, 8.81624],
|
'bound': [
|
||||||
|
53.07103,
|
||||||
|
8.81624
|
||||||
|
],
|
||||||
'zoom': 17
|
'zoom': 17
|
||||||
},
|
},
|
||||||
'maxZoom': 20,
|
'maxZoom': 20,
|
||||||
|
|
Loading…
Reference in New Issue