From f9c0ebcc28a8ffa336a1bc67595a676d83c92190 Mon Sep 17 00:00:00 2001 From: wo-o29 Date: Wed, 2 Oct 2024 13:36:34 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=AF=B8=EB=93=A4=EC=9B=A8=EC=96=B4=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/middleware.page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middleware.page.ts b/src/middleware.page.ts index b4905f5..ad4ebd2 100644 --- a/src/middleware.page.ts +++ b/src/middleware.page.ts @@ -1,6 +1,6 @@ import { NextResponse, type NextRequest } from "next/server"; -const userOnlyUrlRegex = /^(\/mypage)/; +const userOnlyUrlRegex = /^(\/mypage|\/trip-planner)/; export function middleware(request: NextRequest) { const accessToken = request.cookies.get("accessToken");