We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7d4f7c commit a914d6aCopy full SHA for a914d6a
docs/.vitepress/theme/index.ts
@@ -115,7 +115,8 @@ const handleCompatRedirect = async (router: Router) => {
115
} else if (location.pathname === '/') {
116
const r = getRedirectArg();
117
const go = async (to: string) => {
118
- await router.go(to).catch(() => {});
+ history.replaceState(null, '', to);
119
+ await router.go(to);
120
removeHiddenLayoutStyle();
121
};
122
if (r === '1') {
0 commit comments