cms/app-client/mirage/config.js
changeset 318 5564f5065f81
parent 307 07b44a378ad8
child 319 78990a8a069b
--- a/cms/app-client/mirage/config.js	Sun Oct 02 21:43:05 2016 +0200
+++ b/cms/app-client/mirage/config.js	Mon Oct 03 16:32:41 2016 +0200
@@ -13,7 +13,7 @@
     */
     // this.urlPrefix = '';    // make this `http://localhost:8080`, for example, if your API is on a different server
     // this.namespace = '';    // make this `api`, for example, if your API is namespaced
-    this.namespace = ENV.rootURL.replace(/\/$/,'')+'/api/v1';
+    this.namespace = ENV.backRootURL.replace(/\/$/,'')+'/api/v1';
     // this.timing = 400;      // delay for each request, automatically set to 0 during testing
 
     this.get('/documents', function({ documents }) {