MAINT: swap vanilla sentry for ember-cli-sentry (#92)

This commit is contained in:
Matthew Ryan Dillon 2018-04-29 11:58:26 -07:00 committed by GitHub
parent bf6023a7b4
commit 22be697ef6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 61 additions and 12 deletions

View file

@ -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') {