From 812293b4fae16e5b680dd23ba759c70101c9190a Mon Sep 17 00:00:00 2001 From: ljpark Date: Tue, 14 Apr 2026 17:39:12 +0900 Subject: [PATCH] =?UTF-8?q?wr:=20header=EC=97=90=20site=5Fid=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wr/app/(map-layout)/service/map.ts | 3 +++ .../(popUp-layout)/splyPopup/service/map.ts | 3 +++ .../prfmncSttn/pbnstPrfmncSttn/page.tsx | 2 +- apps/wr/app/store/map/splyPop/index.tsx | 2 ++ .../ruseFcltMng/fcltReg/pbnstReg/index.tsx | 2 ++ apps/wr/components/lib/api/index.ts | 27 +++++++++++-------- .../wr/src/entities/auth/api/login-service.ts | 11 +++++++- .../src/features/auth/login/ui/OtpModal.tsx | 7 +++-- .../src/features/auth/login/ui/TwoFAModal.tsx | 7 ++++- 9 files changed, 48 insertions(+), 16 deletions(-) diff --git a/apps/wr/app/(map-layout)/service/map.ts b/apps/wr/app/(map-layout)/service/map.ts index 326f10c75..0a5293d35 100644 --- a/apps/wr/app/(map-layout)/service/map.ts +++ b/apps/wr/app/(map-layout)/service/map.ts @@ -2,6 +2,8 @@ /** * 관망도 API */ +import { SITE_ID } from "@/src/shared/config"; + const API_URL = `/sewerage-service/api/v1/map` //const API_URL = "http://con.mind-one.co.kr:11083/sewerage-service/api/v1/map"; @@ -35,6 +37,7 @@ export const mapService = { method: 'GET', headers: { 'Accept': 'application/json', + 'X-Site-Id': SITE_ID, }, }); diff --git a/apps/wr/app/(popUp-layout)/splyPopup/service/map.ts b/apps/wr/app/(popUp-layout)/splyPopup/service/map.ts index 605bae620..11d556468 100644 --- a/apps/wr/app/(popUp-layout)/splyPopup/service/map.ts +++ b/apps/wr/app/(popUp-layout)/splyPopup/service/map.ts @@ -3,6 +3,7 @@ * 관망도 API */ import { DEV_URL_WR, DEV_URL_SN } from "@/components/lib/config"; +import { SITE_ID } from "@/src/shared/config"; export type LyrStngProps = { lyr_sn: string @@ -34,6 +35,7 @@ export const mapService = { method: 'GET', headers: { 'Accept': 'application/json', + 'X-Site-Id': SITE_ID, }, }); @@ -48,6 +50,7 @@ export const mapService = { method: 'GET', headers: { 'Accept': 'application/json', + 'X-Site-Id': SITE_ID, }, }); diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/prfmncSttn/pbnstPrfmncSttn/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/prfmncSttn/pbnstPrfmncSttn/page.tsx index a45344a67..34d4a4ffe 100644 --- a/apps/wr/app/(with-layout)/ruseFcltMng/prfmncSttn/pbnstPrfmncSttn/page.tsx +++ b/apps/wr/app/(with-layout)/ruseFcltMng/prfmncSttn/pbnstPrfmncSttn/page.tsx @@ -645,7 +645,7 @@ export default function PbnstPrfmncSttn() { selectArray={yearOptions} value={toDate} onSelectValue={(val: string | number) => setToDate(String(val))} /> -