File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
e2e-tests/test-applications/react-19/src Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,7 @@ import Index from './pages/Index';
6
6
7
7
Sentry . init ( {
8
8
environment : 'qa' , // dynamic sampling bias to keep transactions
9
- dsn :
10
- process . env . REACT_APP_E2E_TEST_DSN ||
11
- 'https://3b6c388182fb435097f41d181be2b2ba@o4504321058471936.ingest.sentry.io/4504321066008576' ,
9
+ dsn : process . env . REACT_APP_E2E_TEST_DSN ,
12
10
release : 'e2e-test' ,
13
11
tunnel : 'http://localhost:3031/' , // proxy server
14
12
} ) ;
Original file line number Diff line number Diff line change @@ -195,7 +195,13 @@ export async function startEventProxyServer(options: EventProxyServerOptions): P
195
195
listener ( Buffer . from ( JSON . stringify ( data ) ) . toString ( 'base64' ) ) ;
196
196
} ) ;
197
197
198
- return [ 200 , '{}' , { } ] ;
198
+ return [
199
+ 200 ,
200
+ '{}' ,
201
+ {
202
+ 'Access-Control-Allow-Origin' : '*' ,
203
+ } ,
204
+ ] ;
199
205
}
200
206
201
207
const { origin, pathname, host } = new URL ( envelopeHeader . dsn as string ) ;
You can’t perform that action at this time.
0 commit comments