From 9f0d43fe099a95ab1516ae951dcb60a89e76a5a5 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 3 Nov 2023 21:13:33 +0800 Subject: chore: delete useless codes --- docs/sentry.client.config.js | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 docs/sentry.client.config.js (limited to 'docs/sentry.client.config.js') 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, - ], -}); -- cgit v1.2.3-70-g09d2