From 0da3adb793b454eb58459e8b179ccd58f753e5a7 Mon Sep 17 00:00:00 2001 From: "jeonghyo.k" Date: Wed, 1 Apr 2026 08:27:41 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix(map):=20S57EncOverlay=20API=20URL?= =?UTF-8?q?=EC=9D=84=20=EA=B3=B5=EC=9C=A0=20API=5FBASE=5FURL=EB=A1=9C=20?= =?UTF-8?q?=ED=86=B5=ED=95=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - VITE_API_URL 하드코딩 제거 → @common/services/api의 API_BASE_URL 사용 --- frontend/src/common/components/map/S57EncOverlay.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/common/components/map/S57EncOverlay.tsx b/frontend/src/common/components/map/S57EncOverlay.tsx index 2408037..9211754 100644 --- a/frontend/src/common/components/map/S57EncOverlay.tsx +++ b/frontend/src/common/components/map/S57EncOverlay.tsx @@ -1,8 +1,8 @@ import { useEffect, useRef } from 'react'; import { useMap } from '@vis.gl/react-maplibre'; +import { API_BASE_URL } from '../../services/api'; -const TILES_BASE = import.meta.env.VITE_API_URL?.replace(/\/api$/, '') || 'http://localhost:3001'; -const PROXY_PREFIX = `${TILES_BASE}/api/tiles/enc`; +const PROXY_PREFIX = `${API_BASE_URL}/tiles/enc`; const ENC_SPRITE_ID = 'enc-s57'; const ENC_SOURCE_ID = 'enc-s57'; -- 2.45.2 From 7d2a889e11c5efc18a03a97ca3c7b6f82f8ce2e4 Mon Sep 17 00:00:00 2001 From: "jeonghyo.k" Date: Wed, 1 Apr 2026 08:30:35 +0900 Subject: [PATCH 2/2] =?UTF-8?q?docs:=20=EB=A6=B4=EB=A6=AC=EC=A6=88=20?= =?UTF-8?q?=EB=85=B8=ED=8A=B8=20=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/RELEASE-NOTES.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/RELEASE-NOTES.md b/docs/RELEASE-NOTES.md index d87f4ec..0dfd1a8 100644 --- a/docs/RELEASE-NOTES.md +++ b/docs/RELEASE-NOTES.md @@ -4,6 +4,9 @@ ## [Unreleased] +### 수정 +- 지도: S57EncOverlay API URL을 공유 API_BASE_URL로 통합 + ## [2026-03-31.2] ### 추가 -- 2.45.2