Move to clerk
This commit is contained in:
parent
cd340320b7
commit
567b0ac313
18 changed files with 550 additions and 178 deletions
|
|
@ -1 +1,7 @@
|
|||
export { auth as middleware } from './auth'
|
||||
import { authMiddleware } from '@clerk/nextjs'
|
||||
|
||||
export default authMiddleware()
|
||||
|
||||
export const config = {
|
||||
matcher: ['/((?!.*\\..*|_next).*)', '/', '/(api|trpc)(.*)']
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue