--- app.js
+++ app.js
... | ... | @@ -8,8 +8,9 @@ |
8 | 8 |
const frameguard = require('frameguard') |
9 | 9 |
const passport = require('passport') |
10 | 10 |
const Sentry = require('@sentry/node') |
11 |
+require('dotenv').config() |
|
11 | 12 |
Sentry.init({ |
12 |
- dsn: 'https://8b4aa37266b14f298fc101e6bc02a4d7@o1064669.ingest.sentry.io/4504407883644928', |
|
13 |
+ dsn: process.env.SENTRY_URL, |
|
13 | 14 |
tracesSampleRate: 1.0, |
14 | 15 |
}) |
15 | 16 |
let helmet = require('helmet') |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?