File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
docs/platforms/javascript/guides/nextjs Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -189,9 +189,7 @@ Sentry.init({
189189```
190190
191191<Alert level = " success" title = " Tip" >
192- Include your [ Data Source Name] ( /concepts/key-terms/dsn-explainer/ ) (DSN)
193- directly in these files, or use a _ public_ environment variable like
194- ` NEXT_PUBLIC_SENTRY_DSN ` .
192+ Include your DSN directly in these files, or use a _ public_ environment variable like ` NEXT_PUBLIC_SENTRY_DSN ` .
195193</Alert >
196194
197195### Register Sentry Server-Side SDK Initialization
@@ -210,12 +208,6 @@ export async function register() {
210208}
211209```
212210
213- <Alert level = " warning" title = " Next.js version <15 only" >
214- You need to enable the instrumentation hook by setting the
215- ` experimental.instrumentationHook ` to ` true ` in your ` next.config.(js|mjs) `
216- file.
217- </Alert >
218-
219211<Expandable title = " Opt out of Sentry SDK bundling on client- or server-side." >
220212 If you want the Sentry SDK to be available on the server side and not on the
221213 client side, simply delete ` instrumentation-client.(js|ts) ` . This will prevent
You can’t perform that action at this time.
0 commit comments