Browse Source

Update sentry dsn

docker-size
Amio 5 years ago
parent
commit
5443360f6c
  1. 4
      libs/sentry.ts
  2. 2
      now-v2.json
  3. 2
      now.json

4
libs/sentry.ts

@ -1,9 +1,9 @@
import * as Sentry from '@sentry/node'
import { Dedupe } from '@sentry/integrations'
if (process.env.SENTRY_URI) {
if (process.env.SENTRY_DSN) {
Sentry.init({
dsn: process.env.SENTRY_URI,
dsn: process.env.SENTRY_DSN,
integrations: [
new Dedupe()
]

2
now-v2.json

@ -25,7 +25,7 @@
],
"env": {
"GH_TOKENS": "@badgen-gh-tokens",
"SENTRY_URI": "@badgen-sentry-uri",
"SENTRY_DSN": "@badgen-sentry-dsn",
"TRACKING_GA": "@badgen-tracking-ga"
},
"github": {

2
now.json

@ -19,7 +19,7 @@
],
"env": {
"GH_TOKENS": "@badgen-gh-tokens",
"SENTRY_URI": "@badgen-sentry-uri",
"SENTRY_DSN": "@badgen-sentry-dsn",
"TRACKING_GA": "@badgen-tracking-ga"
},
"engines": {

Loading…
Cancel
Save