Setting up mock server (#6)
This commit is contained in:
parent
6c58af7945
commit
258ce2269f
9 changed files with 545 additions and 5 deletions
|
@ -27,14 +27,14 @@ module.exports = function(environment) {
|
|||
// ENV.APP.LOG_VIEW_LOOKUPS = true;
|
||||
ENV['simple-auth'] = {
|
||||
authorizer: 'authorizers:custom',
|
||||
crossOriginWhitelist: ['http://127.0.0.1:8901']
|
||||
crossOriginWhitelist: ['http://127.0.0.1:4200']
|
||||
}
|
||||
ENV.apiURL = 'http://127.0.0.1:8901';
|
||||
ENV.apiURL = 'http://127.0.0.1:4200';
|
||||
ENV.contentSecurityPolicy = {
|
||||
'default-src': "'none'",
|
||||
'script-src': "'self'",
|
||||
'font-src': "'self'",
|
||||
'connect-src': "'self' http://127.0.0.1:8901",
|
||||
'connect-src': "'self' http://127.0.0.1:4200",
|
||||
'img-src': "'self'",
|
||||
'style-src': "'self'",
|
||||
'media-src': "'self'"
|
||||
|
|
Reference in a new issue