From ad92a275b943e1442b89e892780eb36a552928f2 Mon Sep 17 00:00:00 2001 From: Daniel Fjeldstad <45217974+w3bdesign@users.noreply.github.com> Date: Wed, 19 Jun 2024 07:24:24 +0200 Subject: [PATCH] Update middleware.ts --- game/src/middleware.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/game/src/middleware.ts b/game/src/middleware.ts index 1ea25c96..4bad9d0e 100644 --- a/game/src/middleware.ts +++ b/game/src/middleware.ts @@ -1,5 +1,5 @@ //import { withClerkMiddleware } from "@clerk/nextjs/server"; -// import { authMiddleware } from "@clerk/nextjs"; +import { authMiddleware } from "@clerk/nextjs"; //import { NextResponse } from "next/server"; /* @@ -8,7 +8,6 @@ export default withClerkMiddleware(() => { }); */ -/* export default authMiddleware({ // Routes that can be accessed while signed out publicRoutes: ["/anyone-can-visit-this-route"], @@ -16,7 +15,6 @@ export default authMiddleware({ // no authentication information ignoredRoutes: ["/no-auth-in-this-route"], }); -*/ export const config = { matcher: [