mirror of
https://github.com/LeNei/clerk-docker-error.git
synced 2026-02-13 22:56:25 +00:00
11 lines
195 B
TypeScript
11 lines
195 B
TypeScript
import { authMiddleware } from "@clerk/nextjs";
|
|
|
|
export default authMiddleware({
|
|
publicRoutes: ["/"],
|
|
debug: true,
|
|
});
|
|
|
|
export const config = {
|
|
matcher: ["/((?!.*\\..*|_next).*)", "/"],
|
|
};
|