From 48a2255bfc45ffcfb0b39ffefdd57cbacf8b36df Mon Sep 17 00:00:00 2001 From: dujinkim Date: Fri, 18 Jul 2025 07:52:02 +0000 Subject: (대표님) 파일관리변경, 클라IP추적, 실시간알림, 미들웨어변경, 알림API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- middleware.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'middleware.ts') diff --git a/middleware.ts b/middleware.ts index 559cd038..00f2eeb0 100644 --- a/middleware.ts +++ b/middleware.ts @@ -48,7 +48,8 @@ function isPublicPath(path: string, lng: string) { // 3. publicPaths 배열의 경로들과 매칭 if (publicPaths.some(publicPath => { - return path === `/${lng}${publicPath}` || path.startsWith(`/${lng}${publicPath}/`); + // return path === `/${lng}${publicPath}` || path.startsWith(`/${lng}${publicPath}/`); + return path === `/${lng}${publicPath}`; })) { return true; } -- cgit v1.2.3