d47f3929d1
## Documentation / Examples Updating Clerk to latest example for our with-clerk. Co-authored-by: jamesp-codes <84922519+jamesp-codes@users.noreply.github.com> Co-authored-by: Balázs Orbán <18369201+balazsorban44@users.noreply.github.com>
10 lines
253 B
JavaScript
10 lines
253 B
JavaScript
import { withClerkMiddleware } from '@clerk/nextjs/server'
|
|
import { NextResponse } from 'next/server'
|
|
|
|
export default withClerkMiddleware((_req) => {
|
|
return NextResponse.next()
|
|
})
|
|
|
|
export const config = {
|
|
matcher: ['/api/getAuthenticatedUserId'],
|
|
}
|