diff --git a/src/ui/router/ApplicationRouter.js b/src/ui/router/ApplicationRouter.js index b7290c38cc..e0fff0ef3a 100644 --- a/src/ui/router/ApplicationRouter.js +++ b/src/ui/router/ApplicationRouter.js @@ -60,6 +60,10 @@ class ApplicationRouter extends EventEmitter { } handleLocationChange(pathString) { + if (pathString[0] !== '/') { + pathString = '/' + pathString + } + let url = new URL( pathString, `${location.protocol}//${location.host}${location.pathname}`