Skip to content

Commit

Permalink
Fixed issue with Sentry integration breaking.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrecarey committed Nov 4, 2024
1 parent e51ffbf commit e07785e
Show file tree
Hide file tree
Showing 72 changed files with 523 additions and 22,773 deletions.
20,583 changes: 0 additions & 20,583 deletions .pnp.cjs

This file was deleted.

2,040 changes: 0 additions & 2,040 deletions .pnp.loader.mjs

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
4 changes: 4 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
publish = "dist"
command = "vite build"

[build.environment]
NODE_VERSION = "18.12.1"
YARN_VERSION = "3.3.0"

[[redirects]]
from = "https://khepri.netlify.app"
to = "https://infinitythecalculator.com"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@fortawesome/react-fontawesome": "^0.2.0",
"@mui/icons-material": "^5.11.0",
"@mui/material": "^5.14.14",
"@sentry/react": "^7.74.1",
"@sentry/react": "^8.36.0",
"@stdlib/stats-base-dists-binomial-pmf": "^0.0.7",
"comlink": "^4.4.1",
"jotai": "^2.4.3",
Expand All @@ -30,7 +30,7 @@
"react-router-dom": "^6.10.0"
},
"devDependencies": {
"@sentry/vite-plugin": "^2.8.0",
"@sentry/vite-plugin": "^2.22.6",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"@vitejs/plugin-react": "^3.0.0",
Expand Down
6 changes: 3 additions & 3 deletions src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import * as Sentry from "@sentry/react";
Sentry.init({
dsn: "https://43af9393fc55104e36288fc1844716be@o4506078646239232.ingest.sentry.io/4506078647943168",
integrations: [
new Sentry.BrowserTracing({
Sentry.browserTracingIntegration({
// Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled
tracePropagationTargets: ["localhost", /^https:\/\/infinitythecalculator\.com\//],
tracePropagationTargets: [/^https:\/\/infinitythecalculator\.com\//],
}),
new Sentry.Replay(),
Sentry.replayIntegration()
],
// Performance Monitoring
// tracesSampleRate: 1.0, // Capture 100% of the transactions
Expand Down
Loading

0 comments on commit e07785e

Please sign in to comment.