bruce-models 1.5.6 → 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.
package/dist/bruce-models.es5.js
CHANGED
|
@@ -857,7 +857,8 @@ var CamApi;
|
|
|
857
857
|
this.setBaseUrl();
|
|
858
858
|
}
|
|
859
859
|
setBaseUrl() {
|
|
860
|
-
|
|
860
|
+
// Using proxy through admin-app until CORS stops dying.
|
|
861
|
+
const prefix = `https://${Api.TEMPLATE_ACCOUNT_ID}.nextspace`;
|
|
861
862
|
let url;
|
|
862
863
|
const env = this.env.toUpperCase();
|
|
863
864
|
switch (env) {
|
|
@@ -876,7 +877,7 @@ var CamApi;
|
|
|
876
877
|
default:
|
|
877
878
|
throw ("Specified Environment is not valid. SuppliedEnv=" + env);
|
|
878
879
|
}
|
|
879
|
-
this.baseUrl = url;
|
|
880
|
+
this.baseUrl = url + "@CAM/";
|
|
880
881
|
}
|
|
881
882
|
GetBaseUrl() {
|
|
882
883
|
return this.baseUrl;
|