Skip to content

Commit

Permalink
fix: sentry config (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
michele-franchi committed Aug 3, 2023
1 parent 4fb492b commit 1eea616
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/sentry.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ export default defineNuxtPlugin(({ vueApp }) => {

Sentry.init({
app: vueApp,
dsn: config.SENTRY_DSN,
dsn: config.public.SENTRY_DSN,
integrations: [
new BrowserTracing({
routingInstrumentation: Sentry.vueRouterInstrumentation(router),
tracingOrigins: [config.APP_DOMAIN, /^\//],
tracingOrigins: [config.public.APP_DOMAIN, /^\//],
}),
],
beforeSend: (event) => {
Expand Down

0 comments on commit 1eea616

Please sign in to comment.