fix maintenance bug
This commit is contained in:
parent
f087f8574d
commit
623d80daa4
@ -1,5 +1,5 @@
|
||||
export default defineNuxtRouteMiddleware((to) => {
|
||||
if (to.meta.maintenance === true && import.meta.env.DEV) {
|
||||
if (to.meta.maintenance === true && !import.meta.env.DEV) {
|
||||
return navigateTo('/error/maintenance')
|
||||
}
|
||||
return true
|
||||
|
Loading…
x
Reference in New Issue
Block a user