프로덕션 환경 수정
This commit is contained in:
parent
23be8a0eee
commit
ce07ca3c00
|
|
@ -11,6 +11,12 @@ const getApiBaseUrl = (): string => {
|
|||
if (typeof window !== "undefined") {
|
||||
const currentHost = window.location.hostname;
|
||||
const currentPort = window.location.port;
|
||||
const protocol = window.location.protocol;
|
||||
|
||||
// 프로덕션 환경: v1.vexplor.com → api.vexplor.com
|
||||
if (currentHost === "v1.vexplor.com") {
|
||||
return "https://api.vexplor.com/api";
|
||||
}
|
||||
|
||||
// 로컬 개발환경: localhost:9771 또는 localhost:3000 → localhost:8080
|
||||
if (
|
||||
|
|
|
|||
Loading…
Reference in New Issue