aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/sentry.client.config.js
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-11-03 21:13:33 +0800
committer简律纯 <i@jyunko.cn>2023-11-03 21:13:33 +0800
commit9f0d43fe099a95ab1516ae951dcb60a89e76a5a5 (patch)
tree51614fe47bff8bb11028a07d4a35c34c9ff6594a /docs/sentry.client.config.js
parent8f135707d069c900e055dae71e69909d6b9a41bb (diff)
downloadHydroRoll-9f0d43fe099a95ab1516ae951dcb60a89e76a5a5.tar.gz
HydroRoll-9f0d43fe099a95ab1516ae951dcb60a89e76a5a5.zip
chore: delete useless codes
Diffstat (limited to 'docs/sentry.client.config.js')
-rw-r--r--docs/sentry.client.config.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/docs/sentry.client.config.js b/docs/sentry.client.config.js
deleted file mode 100644
index 27b8b2e..0000000
--- a/docs/sentry.client.config.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This file configures the initialization of Sentry on the browser.
-// https://docs.sentry.io/platforms/javascript/guides/nextjs/
-
-import * as Sentry from "@sentry/nextjs";
-
-Sentry.init({
- environment: process.env.NEXT_PUBLIC_VERCEL_ENV,
- dsn: process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN,
- // Adjust this value in production, or use tracesSampler for greater control
- tracesSampleRate: 1.0,
- ignoreUrls: [
- // Chrome extensions
- /extensions\//i,
- /^chrome:\/\//i,
- ],
-});