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))} /> -