MAINT: swap vanilla sentry for ember-cli-sentry (#92)
This commit is contained in:
parent
bf6023a7b4
commit
22be697ef6
5 changed files with 61 additions and 12 deletions
|
@ -20,12 +20,23 @@ module.exports = function(environment) {
|
|||
APP: {
|
||||
// Here you can pass flags/options to your application instance
|
||||
// when it is created
|
||||
},
|
||||
|
||||
sentry: {
|
||||
dsn: 'https://fd3c695fa9394de48a7c69b7a322960b@sentry.io/1186914',
|
||||
globalErrorCatching: false,
|
||||
},
|
||||
|
||||
contentSecurityPolicy: {
|
||||
'script-src': "'self' 'unsafe-inline' 'unsafe-eval'",
|
||||
'img-src': 'data: app.getsentry.com',
|
||||
}
|
||||
};
|
||||
|
||||
if (environment === 'development') {
|
||||
ENV.APP.API_HOST = 'http://localhost:8000';
|
||||
ENV.APP.API_NAMESPACE = 'api/v1';
|
||||
ENV.sentry.development = true;
|
||||
}
|
||||
|
||||
if (environment === 'test') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue