chore: simplify next-auth (#80)

This commit is contained in:
Balázs Orbán 2023-06-27 20:03:01 +02:00 committed by GitHub
parent 5912336152
commit 012ea40414
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 55 additions and 116 deletions

View file

@ -1,5 +1,5 @@
export { auth as middleware } from './auth'
export const config = {
matcher: ['/', '/api/chat']
matcher: ['/((?!api|_next/static|_next/image|favicon.ico).*)']
}