mario-core 2.9.182-survey → 2.9.183-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
@@ -3082,6 +3082,15 @@ var DATE_MIN_VALUE = "0001-01-01T00:00:00";
3082
3082
  var LICENSE_AGGRID = "Alhanko&Johnson_BASE23_single_1_Devs__22_November_2020_[v2]_MTYwNjAwMzIwMDAwMA==d452f38afc893671cad92795e95d52a1";
3083
3083
  var BASE_URL = function () {
3084
3084
  var windowUrl = window.location.href;
3085
+
3086
+ if (windowUrl.includes("stage.marioforme.com")) {
3087
+ return windowUrl.split("//")[0] + "//stage-api.marioforme.com";
3088
+ }
3089
+
3090
+ if (windowUrl.includes("stage2.marioforme.com")) {
3091
+ return windowUrl.split("//")[0] + "//stage2-api.marioforme.com";
3092
+ }
3093
+
3085
3094
  var url = windowUrl.split("//")[0] + "//" + windowUrl.split("//")[1].split("/")[0];
3086
3095
  return url;
3087
3096
  }();