File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ export default withSentryConfig(
8181 // transpile the Sentry code too since we target older browsers in our .browserslistrc
8282 transpileClientSDK : true ,
8383 // attempt to circumvent ad blockers
84- tunnelRoute : '/monitoring' ,
84+ tunnelRoute : ENABLE_STATIC_EXPORT ? undefined : '/monitoring' ,
8585 // prevent source map comments in built files
8686 hideSourceMaps : false ,
8787 disableLogger : true ,
Original file line number Diff line number Diff line change 1111 replaysOnErrorSampleRate : 1.0 ,
1212 // percentage of sessionsto sample (10%)
1313 replaysSessionSampleRate : 0.1 ,
14+ // support replaying client sessions to capture unhappy paths
1415 integrations : [ new Replay ( ) ] ,
16+ // we only want to capture errors from _next folder on production
17+ // we don't want to capture errors from preview branches here
18+ allowUrls : [ 'https://nodejs.org/_next' ] ,
1519} ) ;
You can’t perform that action at this time.
0 commit comments