diff --git a/src/module.ts b/src/module.ts index 16d727fc..497eb58b 100644 --- a/src/module.ts +++ b/src/module.ts @@ -242,8 +242,8 @@ export default defineNuxtModule({ // 6. Register middleware for autocomplete in definePageMeta addRouteMiddleware({ - name: 'auth', - path: resolve('./runtime/middleware/auth') + name: 'sidebase-auth', + path: resolve('./runtime/middleware/sidebase-auth') }) // 7. Add plugin for initial load diff --git a/src/runtime/middleware/auth.ts b/src/runtime/middleware/sidebase-auth.ts similarity index 100% rename from src/runtime/middleware/auth.ts rename to src/runtime/middleware/sidebase-auth.ts