Skip to content

Commit

Permalink
fix:CF배포로 인한 api 주소 변경 (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dahyeeee authored Sep 19, 2023
1 parent 3d5dae2 commit d1fab95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/constants/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit d1fab95

Please sign in to comment.