mirror of
https://github.com/gkd-kit/docs.git
synced 2024-11-16 04:22:20 +08:00
feat: add r=2
This commit is contained in:
parent
72e1c6a1c7
commit
85b1eade61
|
@ -18,6 +18,8 @@ if (!import.meta.env.SSR) {
|
|||
const r = new URLSearchParams(location.search).get('r');
|
||||
if (r === '1') {
|
||||
location.href = '/guide/snapshot#how-to-upload';
|
||||
} else if (r === '2') {
|
||||
location.href = '/guide/faq#restriction';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user