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.
SENTRY_DSN
1 parent c95cd76 commit 70ab8a9Copy full SHA for 70ab8a9
packages/nuxt/README.md
@@ -96,7 +96,7 @@ Add a `sentry.client.config.(js|ts)` file to the root of your project:
96
import * as Sentry from '@sentry/nuxt';
97
98
Sentry.init({
99
- dsn: process.env.DSN,
+ dsn: process.env.SENTRY_DSN,
100
});
101
```
102
@@ -107,10 +107,10 @@ Add an `instrument.server.mjs` file to your `public` folder:
107
```javascript
108
109
110
-// Only run `init` when DSN is available
+// Only run `init` when process.env.SENTRY_DSN is available.
111
if (process.env.SENTRY_DSN) {
112
113
114
115
}
116
0 commit comments