Skip to content

Commit

Permalink
fix: cdn backend endpoint (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsrivatsa-edinburgh authored Apr 30, 2024
1 parent 0dbde0b commit 5aa7459
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ let backendEndPoint;
if (envBackendUrl === undefined) {
backendEndPoint =
sdkEnv === "prod"
? "https://api.hyperswitch.io"
? "https://checkout.hyperswitch.io/api"
: sdkEnv === "sandbox"
? "https://sandbox.hyperswitch.io"
? "https://beta.hyperswitch.io/api"
: sdkEnv === "integ"
? "https://integ-api.hyperswitch.io"
: "https://sandbox.hyperswitch.io";
: "https://beta.hyperswitch.io/api";
} else {
backendEndPoint = envBackendUrl;
}
Expand Down

0 comments on commit 5aa7459

Please sign in to comment.