리포트 관리 되돌리기
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user