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.server.config.js | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 docs/sentry.server.config.js (limited to 'docs/sentry.server.config.js') diff --git a/docs/sentry.server.config.js b/docs/sentry.server.config.js deleted file mode 100644 index db0964c..0000000 --- a/docs/sentry.server.config.js +++ /dev/null @@ -1,11 +0,0 @@ -// This file configures the initialization of Sentry on the server. -// 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, -}); -- cgit v1.2.3-70-g09d2