From 7ec658f0f5acfff044cc1a363eb6b290568f3b68 Mon Sep 17 00:00:00 2001 From: bobinstein Date: Thu, 5 Sep 2024 14:55:55 -0400 Subject: [PATCH] fix: It works on my computer --- docs/src/.vuepress/enhanceApp.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/src/.vuepress/enhanceApp.js b/docs/src/.vuepress/enhanceApp.js index f672237d..22ab4322 100644 --- a/docs/src/.vuepress/enhanceApp.js +++ b/docs/src/.vuepress/enhanceApp.js @@ -43,7 +43,8 @@ export default ({ if (redirectPath) { // Use router.push to ensure Vue Router handles the navigation properly - router.push({ path: redirectPath, hash: to.hash }); + // router.push({ path: redirectPath, hash: to.hash }); + window.location.replace(redirectPath) } else { next(); // Proceed to the requested page if no redirect is found }