fix(auth): enable Clerk middleware and make /sign-in public

This commit is contained in:
Ishaan (OpenClaw)
2026-02-07 19:31:53 +00:00
parent a2627e36b0
commit 05a83b765b
2 changed files with 3 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
export { default } from "./proxy";
export { config } from "./proxy";

View File

@@ -9,7 +9,7 @@ const isClerkEnabled = () =>
);
// Public routes must include Clerk sign-in paths to avoid redirect loops.
const isPublicRoute = createRouteMatcher(["/sign-in(.*)"]);
const isPublicRoute = createRouteMatcher(["/sign-in(.*)"]);
export default isClerkEnabled()
? clerkMiddleware((auth, req) => {