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:
James Read
2024-08-14 12:35:10 +01:00
committed by GitHub
parent 37160a91f3
commit 9ca1940834
5 changed files with 184 additions and 122 deletions

View File

@@ -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'