You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/router/src/router.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -716,10 +716,10 @@ export function createRouter(options: RouterOptions): Router {
716
716
(redirectedFrom._count=redirectedFrom._count
717
717
? // @ts-expect-error
718
718
redirectedFrom._count+1
719
-
: 1)>10
719
+
: 1)>30
720
720
){
721
721
warn(
722
-
`Detected an infinite redirection in a navigation guard when going from "${from.fullPath}" to "${toLocation.fullPath}". Aborting to avoid a Stack Overflow. This will break in production if not fixed.`
722
+
`Detected a possibly infinite redirection in a navigation guard when going from "${from.fullPath}" to "${toLocation.fullPath}". Aborting to avoid a Stack Overflow. This might break in production if not fixed.`
0 commit comments