Skip to content

Commit

Permalink
Fix signup ui call wrong url (mosip#44)
Browse files Browse the repository at this point in the history
Co-authored-by: Sreang Rathanak <[email protected]>
Signed-off-by: Sreang Rathanak <[email protected]>
  • Loading branch information
rathanak-0080 and Sreang Rathanak committed Jan 15, 2024
1 parent 4c4f523 commit 4ce5add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion signup-ui/src/services/api.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { SOMETHING_WENT_WRONG } from "~constants/routes";
const API_BASE_URL =
process.env.NODE_ENV === "development"
? process.env.REACT_APP_API_BASE_URL
: window.origin + process.env.REACT_APP_API_BASE_URL;
: window.origin + "/v1/signup";

export class HttpError extends Error {
code: number;
Expand Down

0 comments on commit 4ce5add

Please sign in to comment.