From f623be337eb85193d10bf64808fadfb9e1dc3d5b Mon Sep 17 00:00:00 2001 From: Izan Gil <66965250+SrIzan10@users.noreply.github.com> Date: Mon, 15 Jan 2024 16:54:21 +0100 Subject: [PATCH] fix: remove /s/* from clerk auth --- src/middleware.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middleware.ts b/src/middleware.ts index b7c7edb..0ae9ee0 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -4,7 +4,7 @@ import { authMiddleware } from "@clerk/nextjs"; // Please edit this to allow other routes to be public as needed. // See https://clerk.com/docs/references/nextjs/auth-middleware for more information about configuring your Middleware export default authMiddleware({ - publicRoutes: ['/'] + publicRoutes: ['/', '/s/*'] }); export const config = {