aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla/src/router.ts
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-15 19:47:59 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-15 19:47:59 -0800
commit2d48202fa547e94f21662d63a3ff5d04c4fe8f2c (patch)
tree23c29fd6536b132d7d77157b14d8559203285c06 /frontend-vanilla/src/router.ts
parent59743dcaa87920a5125915454e0afa0a22b05ee7 (diff)
downloadneko-2d48202fa547e94f21662d63a3ff5d04c4fe8f2c.tar.gz
neko-2d48202fa547e94f21662d63a3ff5d04c4fe8f2c.tar.bz2
neko-2d48202fa547e94f21662d63a3ff5d04c4fe8f2c.zip
Vanilla JS (v3): Fix filtering logic, Settings navigation, and refine styles for v2 parity
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 };