disabled sentry (glitchtip)
This commit is contained in:
28
src/main.js
28
src/main.js
@@ -23,27 +23,27 @@ import 'vue-plyr/dist/vue-plyr.css'
|
|||||||
// integrations: [new Integrations.Vue()],
|
// integrations: [new Integrations.Vue()],
|
||||||
// });
|
// });
|
||||||
import * as Sentry from "@sentry/vue";
|
import * as Sentry from "@sentry/vue";
|
||||||
import { createSentryPiniaPlugin } from "@sentry/vue";
|
// import { createSentryPiniaPlugin } from "@sentry/vue";
|
||||||
|
|
||||||
|
|
||||||
const app = createApp(App)
|
const app = createApp(App)
|
||||||
|
|
||||||
Sentry.init({
|
// Sentry.init({
|
||||||
app,
|
// app,
|
||||||
dsn: "https://d1780f9da2fc4dd28c9c17cb344a088f@frontlog.figli.io/2",
|
// dsn: "https://d1780f9da2fc4dd28c9c17cb344a088f@frontlog.figli.io/2",
|
||||||
integrations: [
|
// integrations: [
|
||||||
Sentry.browserTracingIntegration({ router }),
|
// Sentry.browserTracingIntegration({ router }),
|
||||||
],
|
// ],
|
||||||
tracesSampleRate: 0.01,
|
// tracesSampleRate: 0.01,
|
||||||
normalizeDepth: 10, // Or however deep you want your state context to be.
|
// normalizeDepth: 10, // Or however deep you want your state context to be.
|
||||||
environment: "prod",
|
// environment: "prod",
|
||||||
// release : '1'
|
// // release : '1'
|
||||||
release: __SENTRY_RELEASE__
|
// release: __SENTRY_RELEASE__
|
||||||
});
|
// });
|
||||||
|
|
||||||
const pinia = createPinia()
|
const pinia = createPinia()
|
||||||
pinia.use( ({store}) => { store.router = router } )
|
pinia.use( ({store}) => { store.router = router } )
|
||||||
pinia.use(createSentryPiniaPlugin());
|
// pinia.use(createSentryPiniaPlugin());
|
||||||
|
|
||||||
app.use(pinia)
|
app.use(pinia)
|
||||||
app.use(router)
|
app.use(router)
|
||||||
|
|||||||
Reference in New Issue
Block a user