mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-04 04:33:10 +00:00
Added Unsplash Attrabutions & Updated Middleware
This commit is contained in:
parent
e768d9181f
commit
631a8ea612
3 changed files with 11 additions and 4 deletions
|
@ -1,9 +1,6 @@
|
|||
import { authMiddleware, redirectToSignIn } from '@clerk/nextjs';
|
||||
import { NextResponse } from 'next/server';
|
||||
|
||||
// This example protects all routes including api/trpc routes
|
||||
// Please edit this to allow other routes to be public as needed.
|
||||
// See https://clerk.com/docs/references/nextjs/auth-middleware for more information about configuring your Middleware
|
||||
export default authMiddleware({
|
||||
publicRoutes: ['/', '/api/webhook'],
|
||||
afterAuth(auth, req) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue