diff --git a/src/proxy.ts b/src/proxy.ts index 0fa78e10..b481f087 100644 --- a/src/proxy.ts +++ b/src/proxy.ts @@ -4,7 +4,7 @@ export default async function proxy(request: NextRequest) { const accessToken = request.cookies.get('accessToken'); const refreshToken = request.cookies.get('refreshToken'); - const protectedPaths = ['/mypage', '/create-group', '/message', '/schedule']; + const protectedPaths = ['/mypage', '/create-group', '/message', '/schedule', '/notification']; const isProtected = protectedPaths.some((path) => request.nextUrl.pathname.startsWith(path)); // 보호되지 않은 경로는 그냥 통과