Skip to content

Commit

Permalink
Merge pull request #5103 from kiva/PF-19-update-sentry
Browse files Browse the repository at this point in the history
fix: remove unnecessary package, reduce origins to only our domain
  • Loading branch information
mcstover authored Dec 14, 2023
2 parents b020134 + b973a6f commit 6466436
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"@kiva/kv-components": "^3.47.0",
"@kiva/kv-tokens": "^2.7.0",
"@mdi/js": "^7",
"@sentry/browser": "^7.87.0",
"@sentry/vue": "^7.87.0",
"@vue/composition-api": "^1.4.6",
"algoliasearch": "^3.34.0",
Expand Down
5 changes: 2 additions & 3 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import Vue from 'vue';
import VueCompositionAPI from '@vue/composition-api';
import * as Sentry from '@sentry/vue';
import { BrowserTracing } from '@sentry/browser';
import Meta from 'vue-meta';
import VueProgressBar from 'vue-progressbar';
import Vue2TouchEvents from 'vue2-touch-events';
Expand Down Expand Up @@ -71,9 +70,9 @@ export default function createApp({
trackComponents: true,
dsn: appConfig.sentryURI,
integrations: [
new BrowserTracing({
new Sentry.BrowserTracing({
routingInstrumentation: Sentry.vueRouterInstrumentation(router),
tracingOrigins: ['localhost', appConfig.host, /^\//],
tracingOrigins: [appConfig.host],
}),
],
release: UI_TAG,
Expand Down

0 comments on commit 6466436

Please sign in to comment.