mirror of
https://github.com/OliveTin/OliveTin
synced 2025-12-14 18:15:37 +00:00
feature: change all navigation to path based (#384)
* feature: change all navigation to path based * bugfix: load default dashboard if actions is empty
This commit is contained in:
@@ -15,7 +15,7 @@ function reconnectWebsocket () {
|
||||
|
||||
const websocketConnectionUrl = new URL(window.location.toString())
|
||||
websocketConnectionUrl.hash = ''
|
||||
websocketConnectionUrl.pathname += 'websocket'
|
||||
websocketConnectionUrl.pathname = '/websocket'
|
||||
|
||||
if (window.location.protocol === 'https:') {
|
||||
websocketConnectionUrl.protocol = 'wss'
|
||||
|
||||
Reference in New Issue
Block a user