bruce-models 1.5.5 → 1.5.7

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.
@@ -841,7 +841,8 @@
841
841
  this.setBaseUrl();
842
842
  }
843
843
  setBaseUrl() {
844
- const prefix = "https://cam.nextspace";
844
+ // Using proxy through admin-app until CORS stops dying.
845
+ const prefix = `https://${exports.Api.TEMPLATE_ACCOUNT_ID}.nextspace`;
845
846
  let url;
846
847
  const env = this.env.toUpperCase();
847
848
  switch (env) {
@@ -860,7 +861,7 @@
860
861
  default:
861
862
  throw ("Specified Environment is not valid. SuppliedEnv=" + env);
862
863
  }
863
- this.baseUrl = url;
864
+ this.baseUrl = url + "@CAM/";
864
865
  }
865
866
  GetBaseUrl() {
866
867
  return this.baseUrl;