File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,16 @@ const nextConfig = {
6
6
experimental : {
7
7
proxyTimeout : 90_000 ,
8
8
} ,
9
+ // Document-Policy header for browser profiling
10
+ async headers ( ) {
11
+ return [ {
12
+ source : "/:path*" ,
13
+ headers : [ {
14
+ key : "Document-Policy" ,
15
+ value : "js-profiling" ,
16
+ } , ] ,
17
+ } , ] ;
18
+ } ,
9
19
reactStrictMode : false ,
10
20
transpilePackages : [ 'crypto-hash' ] ,
11
21
// Enable production sourcemaps for Sentry
@@ -105,15 +115,4 @@ export default withSentryConfig(nextConfig, {
105
115
// Don't fail the build if Sentry upload fails in monorepo context
106
116
return ;
107
117
} ,
108
-
109
- // Document-Policy header for browser profiling
110
- async headers ( ) {
111
- return [ {
112
- source : "/:path*" ,
113
- headers : [ {
114
- key : "Document-Policy" ,
115
- value : "js-profiling" ,
116
- } , ] ,
117
- } , ] ;
118
- } ,
119
118
} ) ;
You can’t perform that action at this time.
0 commit comments