diff --git a/web/src/elements/router/Router404.ts b/web/src/elements/router/Router404.ts index 6dc3fb3d0..bef417232 100644 --- a/web/src/elements/router/Router404.ts +++ b/web/src/elements/router/Router404.ts @@ -18,7 +18,7 @@ export class Router404 extends LitElement {

${gettext("Not found")}

- ${gettext(`The url '${this.url}' was not found.`)} + ${gettext(`The URL '${this.url}' was not found.`)}
${gettext("Return home")} diff --git a/web/src/routes.ts b/web/src/routes.ts index d30eb5f0f..00ad3530c 100644 --- a/web/src/routes.ts +++ b/web/src/routes.ts @@ -27,6 +27,7 @@ import "./pages/stages/PromptListPage"; import "./pages/system-tasks/SystemTaskListPage"; import "./pages/tokens/TokenListPage"; import "./pages/users/UserListPage"; +import "./pages/generic/SiteShell"; export const ROUTES: Route[] = [ // Prevent infinite Shell loops @@ -68,4 +69,7 @@ export const ROUTES: Route[] = [ new Route(new RegExp("^/outpost/outposts$"), html``), new Route(new RegExp("^/outpost/service-connections$"), html``), new Route(new RegExp("^/crypto/certificates$"), html``), + new Route(new RegExp("^/-/user/$"), html` +
+
`), ];