Skip to content

Commit 112d9bd

Browse files
committed
fix it
1 parent 47490a1 commit 112d9bd

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

dev-packages/e2e-tests/test-applications/react-19/src/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ import Index from './pages/Index';
66

77
Sentry.init({
88
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,
1210
release: 'e2e-test',
1311
tunnel: 'http://localhost:3031/', // proxy server
1412
});

dev-packages/test-utils/src/event-proxy-server.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,13 @@ export async function startEventProxyServer(options: EventProxyServerOptions): P
195195
listener(Buffer.from(JSON.stringify(data)).toString('base64'));
196196
});
197197

198-
return [200, '{}', {}];
198+
return [
199+
200,
200+
'{}',
201+
{
202+
'Access-Control-Allow-Origin': '*',
203+
},
204+
];
199205
}
200206

201207
const { origin, pathname, host } = new URL(envelopeHeader.dsn as string);

0 commit comments

Comments
 (0)