cms/app-client/config/environment.js
changeset 318 5564f5065f81
parent 278 f2c2c80a49f7
child 319 78990a8a069b
equal deleted inserted replaced
317:e653de66f252 318:5564f5065f81
     4     var ENV = {
     4     var ENV = {
     5         rootElement: '#corpus-app',
     5         rootElement: '#corpus-app',
     6         modulePrefix: 'app-client',
     6         modulePrefix: 'app-client',
     7         environment: environment,
     7         environment: environment,
     8         rootURL: '/corpus/',
     8         rootURL: '/corpus/',
       
     9         backRootURL: '/corpus/',
     9         locationType: 'hash',
    10         locationType: 'hash',
    10         EmberENV: {
    11         EmberENV: {
    11             FEATURES: {
    12             FEATURES: {
    12                 // Here you can enable experimental features on an ember canary build
    13                 // Here you can enable experimental features on an ember canary build
    13                 // e.g. 'with-controller': true
    14                 // e.g. 'with-controller': true
    31             'media-src': "'self'"
    32             'media-src': "'self'"
    32         };
    33         };
    33     }
    34     }
    34     if (environment === 'test') {
    35     if (environment === 'test') {
    35         ENV.rootURL = '/';
    36         ENV.rootURL = '/';
       
    37         ENV.backRootURL = '/';
    36         ENV.locationType = 'none';
    38         ENV.locationType = 'none';
    37         ENV.APP.LOG_ACTIVE_GENERATION = false;
    39         ENV.APP.LOG_ACTIVE_GENERATION = false;
    38         ENV.APP.LOG_VIEW_LOOKUPS = false;
    40         ENV.APP.LOG_VIEW_LOOKUPS = false;
    39         ENV.APP.rootElement = '#ember-testing';
    41         ENV.APP.rootElement = '#ember-testing';
    40     }
    42     }