mirror of
https://github.com/gkd-kit/docs.git
synced 2024-11-16 12:02:20 +08:00
fix: loop location.pathname
This commit is contained in:
parent
4c2692425e
commit
6b1af12c78
|
@ -12,7 +12,7 @@ if (!import.meta.env.SSR) {
|
|||
} else {
|
||||
location.pathname = location.pathname.replace('/selector/', '/guide/');
|
||||
}
|
||||
} else if ((location.pathname = '/subscription/')) {
|
||||
} else if (location.pathname === '/subscription/') {
|
||||
location.pathname = '/guide/subscription';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user