리포트 관리 되돌리기

This commit is contained in:
dohyeons
2025-10-13 19:15:52 +09:00
parent a53940cff9
commit 28d460fecd
6 changed files with 37 additions and 222 deletions
+2 -2
View File
@@ -12,12 +12,12 @@ const getApiBaseUrl = (): string => {
const currentHost = window.location.hostname;
const currentPort = window.location.port;
// 🎯 로컬 개발환경: Next.js 프록시 사용 (대용량 요청 안정성)
// 로컬 개발환경: localhost:9771 또는 localhost:3000 → localhost:8080
if (
(currentHost === "localhost" || currentHost === "127.0.0.1") &&
(currentPort === "9771" || currentPort === "3000")
) {
return "/api"; // 프록시 사용
return "http://localhost:8080/api";
}
}