From 5419f01d540a27d3d7000faa2f36104dceaccdcb Mon Sep 17 00:00:00 2001 From: "Ishaan (OpenClaw)" Date: Sun, 8 Feb 2026 13:45:48 +0000 Subject: [PATCH] Make /activity public so signed-out UI renders --- frontend/src/proxy.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/proxy.ts b/frontend/src/proxy.ts index 6f1dfb2..d48af78 100644 --- a/frontend/src/proxy.ts +++ b/frontend/src/proxy.ts @@ -9,7 +9,9 @@ const isClerkEnabled = () => ); // Public routes must include Clerk sign-in paths to avoid redirect loops. -const isPublicRoute = createRouteMatcher(["/sign-in(.*)"]); +// Also keep top-level UI routes like /activity public so the app can render a signed-out state +// (the page itself shows a SignIn button; API routes remain protected elsewhere). +const isPublicRoute = createRouteMatcher(["/sign-in(.*)", "/activity(.*)"]); export default isClerkEnabled() ? clerkMiddleware(async (auth, req) => {