Skip to content

Commit

Permalink
configure-beta calls / logic
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Sep 26, 2024
1 parent 843b72d commit 2bfd861
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions configure/src/core/calls.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const domain =
let domain =
window.mmgisglobal.NODE_ENV === "development"
? "http://localhost:8888/"
: (window.mmgisglobal.ROOT_PATH || "") + "/";
: window.mmgisglobal.ROOT_PATH || "";
if (domain.length > 0 && !domain.endsWith("/")) domain += "/";

const c = {
missionPath: "Missions/",
Expand Down

0 comments on commit 2bfd861

Please sign in to comment.