--- a/cms/app-client/config/environment.js Sun Oct 16 22:23:31 2016 +0530
+++ b/cms/app-client/config/environment.js Sun Oct 16 23:19:57 2016 +0530
@@ -14,13 +14,12 @@
}
},
APP: {
- baseStatic: ''
+ backRootURL: '/corpus/',
// Here you can pass flags/options to your application instance
// when it is created
}
};
if (environment === 'development') {
- ENV.APP.baseStatic = '';
ENV.contentSecurityPolicy = {
'default-src': "'none'",
'script-src': "'self' *",
@@ -37,9 +36,13 @@
ENV.APP.LOG_ACTIVE_GENERATION = false;
ENV.APP.LOG_VIEW_LOOKUPS = false;
ENV.APP.rootElement = '#ember-testing';
+ ENV.APP.backRootURL = '/';
}
+
if (environment === 'production') {
- ENV.APP.baseStatic = '/modules/corpus/app-client/';
+ ENV.rootURL = '/corpus-app/';
+ ENV.APP.backRootURL = '/corpus-back/';
}
+
return ENV;
-};
\ No newline at end of file
+};