refactoring: simplifying file names

This commit is contained in:
2024-01-08 15:24:26 +01:00
parent e29d813aee
commit cd9060c97e
6 changed files with 7 additions and 41 deletions

View File

@@ -3,9 +3,9 @@
* @description hooks-up `next-auth` into the page processing pipeline
*/
import { auth } from '@/app/lib/auth.google'
import { auth } from '@/app/lib/auth'
export default auth; // middleware will call NextAuth's `auth` method, which will in turn call) see `auth.config.google.ts`
export default auth; // middleware will call NextAuth's `auth` method, which will in turn call) see `auth.ts`
export const config = {
// midleware will NOT be called for paths: ['/api/auth/*', '/_next/static/*', '/_next/image*']