Skip to content

Commit

Permalink
fix(general): pass env url to rest client
Browse files Browse the repository at this point in the history
  • Loading branch information
tuanddd committed Sep 18, 2023
1 parent 884031d commit c7f011c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
} from "env"

export default new API({
payUrl: MOCHI_PAY_API_SERVER_HOST,
baseUrl: API_SERVER_HOST,
profileUrl: MOCHI_PROFILE_API_SERVER_HOST,
payUrl: `${MOCHI_PAY_API_SERVER_HOST}/api/v1`,
baseUrl: `${API_SERVER_HOST}/api/v1`,
profileUrl: `${MOCHI_PROFILE_API_SERVER_HOST}/api/v1`,
})

0 comments on commit c7f011c

Please sign in to comment.