Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions web/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_JAZZ_PEER_URL="wss://"

RONIN_TOKEN=

SENTRY_DSN=
SENTRY_PROJECT=
# IGNORE_BUILD_ERRORS=true
4 changes: 1 addition & 3 deletions web/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,12 @@ const webConfig = {

const nextConfig = isTauri ? tauriConfig : webConfig

// console.log(`Using ${isTauri ? "Tauri" : "Web"} config`)

export default withSentryConfig(nextConfig, {
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options

org: "learn-anything",
project: "website",
project: process.env.SENTRY_PROJECT,
sentryUrl: "https://sentry.io/",

// Only print logs for uploading source maps in CI
Expand Down
2 changes: 1 addition & 1 deletion web/sentry.client.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import * as Sentry from "@sentry/nextjs"

Sentry.init({
dsn: "https://[email protected]/4507927630118912",
dsn: process.env.SENTRY_DSN,

// Add optional integrations for additional features
integrations: [Sentry.replayIntegration()],
Expand Down
2 changes: 1 addition & 1 deletion web/sentry.server.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import * as Sentry from "@sentry/nextjs"

Sentry.init({
dsn: "https://[email protected]/4507927630118912",
dsn: process.env.SENTRY_DSN,

// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
tracesSampleRate: 1,
Expand Down