From 48169fdcb89a931645ca9f4e88f66237cfd8a671 Mon Sep 17 00:00:00 2001 From: mryanshenghong Date: Thu, 10 Nov 2022 16:17:08 -0500 Subject: [PATCH] fix env mode --- src/main.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.ts b/src/main.ts index ccfca79..cb8c100 100644 --- a/src/main.ts +++ b/src/main.ts @@ -17,8 +17,6 @@ const app = createApp(App) .use(i18n) .use(registerGlobalElementPlus); -console.log(import.meta.env.NODE_ENV); -console.log(import.meta.env.VITE_APP_SENTRY_RELEASE); Sentry.init({ app, dsn: import.meta.env.VITE_APP_SENTRY_DSN, @@ -29,7 +27,7 @@ Sentry.init({ routingInstrumentation: Sentry.vueRouterInstrumentation(router), }), ], - environment: import.meta.env.NODE_ENV, + environment: import.meta.env.MODE, tracesSampleRate: 1.0, });