Skip to content

Commit

Permalink
🔧 Enable sentry replay
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Sep 11, 2024
1 parent 13ac972 commit a071c1c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,14 @@ export default {
"'unsafe-inline'",
'fonts.googleapis.com',
],
'worker-src': [
"'self'",
'blob:',
],
'child-src': [
"'self'",
'blob:',
],
},
},
},
Expand Down Expand Up @@ -176,9 +184,12 @@ export default {
clientIntegrations: {
/* default integrations will still be added due to deep-merge */
ReportingObserver: false, // reporting is very noisy on CSP violation.
Replay: {},
},
clientConfig: {
ignoreErrors: ['WebAssembly.instantiate'],
replaysSessionSampleRate: IS_TESTNET ? 1.0 : 0.05,
replaysOnErrorSampleRate: IS_TESTNET ? 1.0 : 1.0,
},
},
sitemap: {
Expand Down

0 comments on commit a071c1c

Please sign in to comment.