From e8e4f3fa21f1af3ef0bc0704321c8d588cac961b Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Fri, 26 May 2023 08:10:10 +0100 Subject: [PATCH] protect portfolio urls --- src/middleware.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middleware.ts b/src/middleware.ts index b8847e7..3253bfa 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -1,3 +1,3 @@ -export const config = { matcher: ["/home/:path*"] }; +export const config = { matcher: ["/home/:path*", "/portfolio/:path*"] }; export { default } from "next-auth/middleware";