Skip to content

Beautiful Open-Source Form Builder

remove local from middleware

Forms Devb1311f073628
diff --git a/resources/js/router/index.js b/resources/js/router/index.js
index 0acc35746..1e5eef532 100644
--- a/resources/js/router/index.js
+++ b/resources/js/router/index.js
@@ -5,7 +5,7 @@ import { useAppStore } from '../stores/app'
import { defineComponent, nextTick } from 'vue'
// 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.
const requireContext = import.meta.glob('../middleware/**/*.js', { eager: true })