refactoring: simplifying file names
This commit is contained in:
@@ -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*']
|
||||
|
||||
Reference in New Issue
Block a user