Skip to content

Commit

Permalink
Hotfix: sets production url to /v3/api
Browse files Browse the repository at this point in the history
  • Loading branch information
falquaddoomi committed Oct 19, 2023
1 parent adbe31a commit 4eabbfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ let monarch = `https://api-${apiName}.monarchinitiative.org${suffix}`;

/** production version */
if (apiName === "production")
monarch = `https://api.monarchinitiative.org${suffix}`;
monarch = suffix;

/** relative to wherever web app is hosted */
if (apiName === "relative") monarch = suffix;
Expand Down

0 comments on commit 4eabbfa

Please sign in to comment.