mario-core 2.9.183-survey → 2.9.184-release

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4549,6 +4549,15 @@ var DATE_MIN_VALUE = "0001-01-01T00:00:00";
4549
4549
  var LICENSE_AGGRID = "Alhanko&Johnson_BASE23_single_1_Devs__22_November_2020_[v2]_MTYwNjAwMzIwMDAwMA==d452f38afc893671cad92795e95d52a1";
4550
4550
  var BASE_URL = function () {
4551
4551
  var windowUrl = window.location.href;
4552
+
4553
+ if (windowUrl.includes("stage.marioforme.com")) {
4554
+ return windowUrl.split("//")[0] + "//stage-api.marioforme.com";
4555
+ }
4556
+
4557
+ if (windowUrl.includes("stage2.marioforme.com")) {
4558
+ return windowUrl.split("//")[0] + "//stage2-api.marioforme.com";
4559
+ }
4560
+
4552
4561
  var url = windowUrl.split("//")[0] + "//" + windowUrl.split("//")[1].split("/")[0];
4553
4562
  return url;
4554
4563
  }();