diff --git a/frontend/src/constants/api.ts b/frontend/src/constants/api.ts index 01924c58b..6ad30929c 100644 --- a/frontend/src/constants/api.ts +++ b/frontend/src/constants/api.ts @@ -5,7 +5,7 @@ export const BASE_URL = PROD : 'http://localhost:3000'; export const AXIOS_BASE_URL = PROD - ? `${window.location.protocol}//${process.env.PROD_BASE_URL}/api` + ? `${window.location.protocol}//api.${process.env.PROD_BASE_URL}` : '/'; export const END_POINTS = {