We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e292d8 commit da3bd48Copy full SHA for da3bd48
src/start.ts
@@ -0,0 +1,12 @@
1
+import {
2
+ sentryGlobalFunctionMiddleware,
3
+ sentryGlobalRequestMiddleware,
4
+} from '@sentry/tanstackstart-react'
5
+import { createStart } from '@tanstack/react-start'
6
+
7
+export const startInstance = createStart(() => {
8
+ return {
9
+ requestMiddleware: [sentryGlobalRequestMiddleware],
10
+ functionMiddleware: [sentryGlobalFunctionMiddleware],
11
+ }
12
+})
0 commit comments