Skip to content

Commit

Permalink
Undo configure-beta domain change
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Feb 12, 2025
1 parent 229a16e commit 51c2afa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions configure/src/core/calls.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
let domain =
window.mmgisglobal.NODE_ENV === "development"
? "http://localhost:8888/"
: window.mmgisglobal.ROOT_PATH ||
`${window.location.pathname
.replace(`/configure-beta`, "")
.replace(/^\//g, "")}`;
: window.mmgisglobal.ROOT_PATH || "";
if (domain.length > 0 && !domain.endsWith("/")) domain += "/";

const c = {
Expand Down

0 comments on commit 51c2afa

Please sign in to comment.