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")