feat: add r=2

This commit is contained in:
lisonge 2024-09-17 02:18:37 +08:00
parent 72e1c6a1c7
commit 85b1eade61

View File

@ -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';
}
}
}