From 1db30643d32619a352e759799a24e8f54b8137bf Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Thu, 30 Oct 2025 19:14:25 +0900
Subject: (김준회) 멀티 도메인 로그아웃시 경로 문제 처리
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/layout/Header.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'components/layout/Header.tsx')

diff --git a/components/layout/Header.tsx b/components/layout/Header.tsx
index c9455fc8..55991d2c 100644
--- a/components/layout/Header.tsx
+++ b/components/layout/Header.tsx
@@ -261,7 +261,7 @@ export function Header() {
                                         <Link href={`${basePath}/settings`}>{t('user.settings')}</Link>
                                     </DropdownMenuItem>
                                     <DropdownMenuSeparator />
-                                    <DropdownMenuItem onSelect={() => signOut({ callbackUrl: `/${lng}/${domain}` })}>
+                                    <DropdownMenuItem onSelect={() => signOut({ callbackUrl: `${window.location.origin}${basePath}` })}>
                                         {t('user.logout')}
                                     </DropdownMenuItem>
                                 </DropdownMenuContent>
-- 
cgit v1.2.3

