Skip to content

Commit aad651b

Browse files
committed
Remove duplicate init
1 parent 5e6861e commit aad651b

File tree

1 file changed

+2
-10
lines changed
  • dev-packages/e2e-tests/test-applications/create-remix-app-v2-non-vite/app

1 file changed

+2
-10
lines changed

dev-packages/e2e-tests/test-applications/create-remix-app-v2-non-vite/app/entry.server.tsx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
import * as Sentry from '@sentry/remix';
2-
3-
Sentry.init({
4-
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
5-
environment: 'qa', // dynamic sampling bias to keep transactions
6-
dsn: process.env.E2E_TEST_DSN,
7-
tunnel: 'http://localhost:3031/', // proxy server
8-
});
9-
101
/**
112
* By default, Remix will handle generating the HTTP Response for you.
123
* You are free to delete this file if you'd like to, but if you ever want it revealed again, you can run `npx remix reveal` ✨
@@ -21,6 +12,7 @@ import { installGlobals } from '@remix-run/node';
2112
import { RemixServer } from '@remix-run/react';
2213
import isbot from 'isbot';
2314
import { renderToPipeableStream } from 'react-dom/server';
15+
import * as Sentry from '@sentry/remix';
2416

2517
installGlobals();
2618

@@ -29,7 +21,7 @@ const ABORT_DELAY = 5_000;
2921
Sentry.init({
3022
environment: 'qa', // dynamic sampling bias to keep transactions
3123
dsn: process.env.E2E_TEST_DSN,
32-
// Performance Monitoring
24+
tunnel: 'http://localhost:3031/', // proxy server
3325
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
3426
});
3527

0 commit comments

Comments
 (0)