Skip to content
Snippets Groups Projects
Commit cbf01689 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

fix typo

parent 8325962b
No related branches found
No related tags found
No related merge requests found
Pipeline #150160 passed
export default defineNuxtRouteMiddleware((to, from) => { export default defineNuxtRouteMiddleware((to, from) => {
const runtimeConfig = useRuntimeConfig() const runtimeConfig = useRuntimeConfig()
const isMaintenance = runtimeConfig.public.maintenance === true const isMaintenance = runtimeConfig?.public?.maintenance === true
if (!isMaintenance) return; if (!isMaintenance) return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment