Skip to content

Commit 4138f39

Browse files
Apply suggestions from code review
Co-authored-by: Sarah Mischinger <[email protected]>
1 parent a27e9da commit 4138f39

File tree

1 file changed

+3
-3
lines changed
  • docs/platforms/javascript/guides/tanstackstart-react

1 file changed

+3
-3
lines changed

docs/platforms/javascript/guides/tanstackstart-react/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const getRouter = () => {
110110

111111
### Configure Server-side Sentry
112112

113-
Create an instrument file `instrument.server.mjs` in the root of your project. In this file, initialize the Sentry SDK for your server.
113+
Create an instrument file `instrument.server.mjs` in the root of your project. In this file, initialize the Sentry SDK for your server:
114114

115115
```tsx {filename:instrument.server.mjs}
116116
import * as Sentry from "@sentry/tanstackstart-react";
@@ -140,9 +140,9 @@ Sentry.init({
140140

141141
#### Moving the Sentry server config file for production usage
142142

143-
For production monitoring, the Sentry server config file needs to be moved to your build output. Since [TanStack Start is designed to work with any hosting provider](https://tanstack.com/start/latest/docs/framework/react/guide/hosting), the exact location will depend on where your build artifacts are deployed (for example, `"/dist"`, `".output/server"` or a platform-specific directory).
143+
For production monitoring, you need to move the Sentry server config file to your build output. Since [TanStack Start is designed to work with any hosting provider](https://tanstack.com/start/latest/docs/framework/react/guide/hosting), the exact location will depend on where your build artifacts are deployed (for example, `"/dist"`, `".output/server"` or a platform-specific directory).
144144

145-
For example, when using [nitro](https://nitro.build/), copy the instrumentation file to `".output/server"`.
145+
For example, when using [Nitro](https://nitro.build/), copy the instrumentation file to `".output/server"`:
146146

147147
```json {diff} {filename:package.json}
148148
{

0 commit comments

Comments
 (0)