From 6cf389c76f564144add41228c0955d6b24eb6ef3 Mon Sep 17 00:00:00 2001 From: dongsilove Date: Mon, 20 Oct 2025 21:04:38 +0900 Subject: [PATCH] =?UTF-8?q?wr=20lyStngs=20=ED=98=B8=EC=B6=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/fo/src/entities/auth/lib/auth-wrapper.tsx | 2 ++ apps/wr/app/(map-layout)/service/map.ts | 5 ++--- apps/wr/src/entities/auth/lib/auth-wrapper.tsx | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/fo/src/entities/auth/lib/auth-wrapper.tsx b/apps/fo/src/entities/auth/lib/auth-wrapper.tsx index fa370fa32..df730b5cb 100644 --- a/apps/fo/src/entities/auth/lib/auth-wrapper.tsx +++ b/apps/fo/src/entities/auth/lib/auth-wrapper.tsx @@ -42,6 +42,8 @@ const AuthWrapper = ({ children }: { children: React.ReactNode }) => { setUserInfo(null); const hostname = window.location.hostname; + console.log("hostname:", hostname); + console.log("LOGIN_PAGE_URL:", LOGIN_PAGE_URL); // 개발 환경에서는 localhost 도메인 사용 //if (hostname === "localhost" || hostname === "127.0.0.1" || hostname === "con.mind-one.co.kr") diff --git a/apps/wr/app/(map-layout)/service/map.ts b/apps/wr/app/(map-layout)/service/map.ts index 79ba7fe9e..8c22207be 100644 --- a/apps/wr/app/(map-layout)/service/map.ts +++ b/apps/wr/app/(map-layout)/service/map.ts @@ -2,9 +2,8 @@ /** * 관망도 API */ - const API_URL = `${process.env.NEXT_PUBLIC_SEWERAGE_API_URL}/v1/map` -//const API_URL = "http://con.mind-one.co.kr:11083/sewerage-service/api/v1/map"; - +const API_URL = '/sewerage-service/v1/map'; + export type LyrStngProps = { lyr_sn: string lyr_nm: string diff --git a/apps/wr/src/entities/auth/lib/auth-wrapper.tsx b/apps/wr/src/entities/auth/lib/auth-wrapper.tsx index 12904f8b8..497174fb4 100644 --- a/apps/wr/src/entities/auth/lib/auth-wrapper.tsx +++ b/apps/wr/src/entities/auth/lib/auth-wrapper.tsx @@ -44,6 +44,8 @@ const AuthWrapper = ({ children }: { children: React.ReactNode }) => { setUserInfo(null); const hostname = window.location.hostname; + console.log("hostname:", hostname); + console.log("LOGIN_PAGE_URL:", LOGIN_PAGE_URL); // 개발 환경에서는 localhost 도메인 사용 //if (hostname === "localhost" || hostname === "127.0.0.1" || hostname === "con.mind-one.co.kr")