mirror of
https://github.com/LeNei/clerk-docker-error.git
synced 2026-02-13 22:56:25 +00:00
first commit
This commit is contained in:
10
middleware.ts
Normal file
10
middleware.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { authMiddleware } from "@clerk/nextjs";
|
||||
|
||||
export default authMiddleware({
|
||||
publicRoutes: ["/"],
|
||||
debug: true,
|
||||
});
|
||||
|
||||
export const config = {
|
||||
matcher: ["/((?!.*\\..*|_next).*)", "/"],
|
||||
};
|
||||
Reference in New Issue
Block a user