Feat: effect used style
This commit is contained in:
@@ -65,6 +65,9 @@ export default defineNuxtRouteMiddleware(async (to, from) => {
|
||||
return;
|
||||
}
|
||||
|
||||
if (to.path == "/test") {
|
||||
return;
|
||||
}
|
||||
// In a real app you would probably not redirect every route to `/`
|
||||
// however it is important to check `to.path` before redirecting or you
|
||||
// might get an infinite redirect loop
|
||||
|
||||
Reference in New Issue
Block a user