cms/app-client/config/environment.js
changeset 90 f0609941aa98
parent 84 36f84e8f1ad5
child 261 02e2396bcbbc
equal deleted inserted replaced
89:89be68e13215 90:f0609941aa98
    23     // ENV.APP.LOG_RESOLVER = true;
    23     // ENV.APP.LOG_RESOLVER = true;
    24     // ENV.APP.LOG_ACTIVE_GENERATION = true;
    24     // ENV.APP.LOG_ACTIVE_GENERATION = true;
    25     // ENV.APP.LOG_TRANSITIONS = true;
    25     // ENV.APP.LOG_TRANSITIONS = true;
    26     // ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
    26     // ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
    27     // ENV.APP.LOG_VIEW_LOOKUPS = true;
    27     // ENV.APP.LOG_VIEW_LOOKUPS = true;
       
    28     ENV.contentSecurityPolicy = {
       
    29       'default-src': "'none'",
       
    30       'script-src': "'self' *",
       
    31       'font-src': "'self'",
       
    32       'connect-src': "'self' *",
       
    33       'img-src': "'self'",
       
    34       'style-src': "'self' *",
       
    35       'media-src': "'self'"
       
    36     };
    28   }
    37   }
    29 
    38 
    30   if (environment === 'test') {
    39   if (environment === 'test') {
    31     // Testem prefers this...
    40     // Testem prefers this...
    32     ENV.baseURL = '/';
    41     ENV.baseURL = '/';