diff --git a/src/common/utils/api.ts b/src/common/utils/api.ts index c0afbd8aff2b50b76365a6c139620282b2b3f23f..c59f74ec24edc4bf3a9873b8c9314074f9e47b12 100644 --- a/src/common/utils/api.ts +++ b/src/common/utils/api.ts @@ -14,13 +14,15 @@ const RESPONSE_STATUS = Object.freeze({ type FetchMethod = typeof FETCH_METHOD[keyof typeof FETCH_METHOD]; const DEV_API_URL = 'http://localhost:8080'; -const PROD_API_URL = ''; +const PROD_API_URL = 'https://ajou-eats-api.seunglab.dev'; const DEV_SOCKET_URL = 'ws://localhost:8080'; -const PROD_SOCKET_URL = ''; +const PROD_SOCKET_URL = 'ws://ajou-eats-api.seunglab.dev'; const API_URL = process.env.NODE_ENV === 'production' ? PROD_API_URL : DEV_API_URL; +// const API_URL = PROD_API_URL; const SOCKET_URL = process.env.NODE_ENV === 'production' ? PROD_SOCKET_URL : DEV_SOCKET_URL; +// const SOCKET_URL = PROD_SOCKET_URL; /** * @name fetchData