remove local from middleware
This commit is contained in:
parent
496ef93353
commit
b1311f0736
|
@ -5,7 +5,7 @@ import { useAppStore } from '../stores/app'
|
||||||
import { defineComponent, nextTick } from 'vue'
|
import { defineComponent, nextTick } from 'vue'
|
||||||
|
|
||||||
// The middleware for every page of the application.
|
// The middleware for every page of the application.
|
||||||
const globalMiddleware = ['locale', 'check-auth', 'custom-domains']
|
const globalMiddleware = ['check-auth', 'custom-domains']
|
||||||
|
|
||||||
// Load middleware modules dynamically.
|
// Load middleware modules dynamically.
|
||||||
const requireContext = import.meta.glob('../middleware/**/*.js', { eager: true })
|
const requireContext = import.meta.glob('../middleware/**/*.js', { eager: true })
|
||||||
|
|
Loading…
Reference in New Issue