Skip to content

Commit 80894c4

Browse files
Fix config example in README.md for Nuxt (#13496)
Config example fix. env.DSN was missing process prefix.
1 parent 2b3e26f commit 80894c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nuxt/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Add a `sentry.client.config.(js|ts)` file to the root of your project:
9696
import * as Sentry from '@sentry/nuxt';
9797

9898
Sentry.init({
99-
dsn: env.DSN,
99+
dsn: process.env.DSN,
100100
});
101101
```
102102

0 commit comments

Comments
 (0)