Hopefully add sentry to cd builds

This commit is contained in:
David Baker
2022-05-10 21:24:20 +01:00
parent b2418d5384
commit abdfcd879d
2 changed files with 6 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ const history = createBrowserHistory();
Sentry.init({
dsn: import.meta.env.VITE_SENTRY_DSN,
environment: import.meta.env.VITE_SENTRY_ENVIRONMENT ?? "production",
integrations: [
new Integrations.BrowserTracing({
routingInstrumentation: Sentry.reactRouterV5Instrumentation(history),