aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla/src/router.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend-vanilla/src/router.ts')
-rw-r--r--frontend-vanilla/src/router.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend-vanilla/src/router.ts b/frontend-vanilla/src/router.ts
index 46fbe06..a0ac55a 100644
--- a/frontend-vanilla/src/router.ts
+++ b/frontend-vanilla/src/router.ts
@@ -28,6 +28,8 @@ export class Router extends EventTarget {
} else if (segments[0] === 'tag' && segments[1]) {
routePath = '/tag';
params.tagName = decodeURIComponent(segments[1]);
+ } else if (segments[0] === 'settings') {
+ routePath = '/settings';
}
return { path: routePath, params, query: url.searchParams };