fix(prediction): ���� ���� API URL �� ��������Ʈ ���� #133

병합
jhkang fix/backtrack-vessel-api 에서 develop 로 2 commits 를 머지했습니다 2026-03-27 15:36:16 +09:00
Showing only changes of commit 9d630a9466 - Show all commits

파일 보기

@ -2,7 +2,7 @@ import { wingPool } from '../db/wingDb.js';
import { getBacktrack } from './predictionService.js';
const PYTHON_API_URL = process.env.PYTHON_API_URL ?? 'http://localhost:5003';
const VESSEL_TRACK_API_URL = process.env.VESSEL_TRACK_API_URL ?? 'http://localhost:9090';
const VESSEL_TRACK_API_URL = process.env.VESSEL_TRACK_API_URL ?? 'https://guide.gc-si.dev/signal-batch';
// 유종 코드(DB) → OpenDrift 유종 코드 매핑
const OIL_TYPE_MAP: Record<string, string> = {
@ -288,7 +288,7 @@ async function fetchVesselTracks(
console.log(body);
const res = await fetch(`${VESSEL_TRACK_API_URL}`, {
const res = await fetch(`${VESSEL_TRACK_API_URL}/api/v2/tracks/area-search`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(body),