Try something
Some checks failed
Build and deploy updated apps / Build & deploy (push) Failing after 1m3s
Some checks failed
Build and deploy updated apps / Build & deploy (push) Failing after 1m3s
This commit is contained in:
parent
7c5b0eaa9f
commit
2b07e8157b
@ -1,7 +1,7 @@
|
|||||||
export default defineNuxtRouteMiddleware((to, from) => {
|
export default defineNuxtRouteMiddleware((to, from) => {
|
||||||
// important: routes do not exist in middleware, never (in)directly use e.g. useRoute
|
// important: routes do not exist in middleware, never (in)directly use e.g. useRoute
|
||||||
|
|
||||||
if (import.meta.server) {
|
if (import.meta.prerender) {
|
||||||
return // it will interfere with pre-rendering otherwise
|
return // it will interfere with pre-rendering otherwise
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user