From c4a46a1dc5b62d4193c26478e59db6f5ead71d09 Mon Sep 17 00:00:00 2001 From: leedj312 Date: Tue, 15 Apr 2025 15:19:31 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8F=AC=ED=8A=B8=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wr/components/lib/api/index.ts | 4 ++-- apps/wr/components/lib/config/index.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/wr/components/lib/api/index.ts b/apps/wr/components/lib/api/index.ts index b466054be..1d6dc4935 100644 --- a/apps/wr/components/lib/api/index.ts +++ b/apps/wr/components/lib/api/index.ts @@ -1,11 +1,11 @@ //8880 -import { DEV_URL_FO, DEV_URL_WR } from "../config/"; +import { DEV_URL_COMMON, DEV_URL_WR } from "../config/"; export const getFectch = async( type:string , url: string) => { - const div = type === 'common' ? DEV_URL_FO : DEV_URL_WR + const div = type === 'common' ? DEV_URL_COMMON : DEV_URL_WR const response = await fetch( div+url , { method: "GET", headers: { diff --git a/apps/wr/components/lib/config/index.ts b/apps/wr/components/lib/config/index.ts index 973d1014a..32fd36cc4 100644 --- a/apps/wr/components/lib/config/index.ts +++ b/apps/wr/components/lib/config/index.ts @@ -3,9 +3,9 @@ const LOCAL_PORT = "3000"; const DEV_PORT = "11080"; -const DEV_PORT_COMMON = "11082"; // common +const DEV_URL_FO = "11082"; // common export const LOCAL_URL_WR = `http://localhost:${LOCAL_PORT}/api/v1`; export const DEV_URL_WR = `http://con.mind-one.co.kr:${DEV_PORT}/api/v1`; -export const DEV_URL_COMMON = `http://con.mind-one.co.kr:${DEV_PORT_COMMON}/api/v1`; +export const DEV_URL_COMMON = `http://con.mind-one.co.kr:${DEV_URL_FO}/api/v1`;