From 9279b5c7d5877afb8201677d86727773f7b8f7e7 Mon Sep 17 00:00:00 2001 From: clkim Date: Thu, 29 Jan 2026 17:06:39 +0900 Subject: [PATCH] =?UTF-8?q?fix.=20/=20=EC=A0=91=EA=B7=BC=EC=8B=9C=EC=97=90?= =?UTF-8?q?=EB=8F=84=20lang=5Fcode=20=EC=A0=84=EB=8B=AC=20=EB=90=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layers/utils/urlUtil.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layers/utils/urlUtil.ts b/layers/utils/urlUtil.ts index 76bd4a5..b9c379d 100644 --- a/layers/utils/urlUtil.ts +++ b/layers/utils/urlUtil.ts @@ -61,7 +61,7 @@ export const getPathLocale = (url: string): string => { if (!url) return '' const cleanUrl = url.endsWith('/') ? url.slice(0, -1) : url - return cleanUrl.split('/')[1] + return cleanUrl.split('/')[1] || '' } /**