Skip to content

Commit

Permalink
fix: It works on my computer
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobinstein committed Sep 5, 2024
1 parent 5fb5b83 commit 7ec658f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/.vuepress/enhanceApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 7ec658f

Please sign in to comment.