chore(sentry): remove local sentry and use from env (#159)

* .

* add sentry

* prettier

* up packages

* no edge sentry

* chore: remove local sentry and now use form env

---------

Co-authored-by: Nikita <github@nikiv.dev>
This commit is contained in:
Aslam
2024-09-10 18:24:39 +07:00
committed by GitHub
parent 9e28aa5995
commit 55eb5513f4
4 changed files with 6 additions and 5 deletions

View File

@@ -5,7 +5,7 @@
import * as Sentry from "@sentry/nextjs"
Sentry.init({
dsn: "https://643e210c090ea97f641b7f5fb253f16b@o301266.ingest.us.sentry.io/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,