Skip to content

inject sentry dsn at build time#3

Merged
seokju-na merged 1 commit into
mainfrom
sentry-dsn-build-time-inject
May 25, 2026
Merged

inject sentry dsn at build time#3
seokju-na merged 1 commit into
mainfrom
sentry-dsn-build-time-inject

Conversation

@seokju-na

@seokju-na seokju-na commented May 25, 2026

Copy link
Copy Markdown
Member

Summary by cubic

Use a build-time VITE_SENTRY_DSN env var for Sentry initialization on both client and server. This removes the hardcoded DSN and enables per-environment config while keeping secrets out of the repo.

  • Migration
    • Set VITE_SENTRY_DSN in your deployment env or in .env.production.local (auto-loaded by Vite).
    • Do not commit .env*.local; they are now gitignored.

Written for commit ea3f900. Summary will update on new commits. Review in cubic

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
webview-bundle-website ea3f900 Commit Preview URL

Branch Preview URL
May 25 2026, 11:59 AM

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Re-trigger cubic

@seokju-na seokju-na merged commit 4deba78 into main May 25, 2026
4 checks passed
@seokju-na seokju-na deleted the sentry-dsn-build-time-inject branch May 25, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant