Skip to content

Commit

Permalink
fix env mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mryanshenghong committed Nov 10, 2022
1 parent 4376354 commit 48169fd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -29,7 +27,7 @@ Sentry.init({
routingInstrumentation: Sentry.vueRouterInstrumentation(router),
}),
],
environment: import.meta.env.NODE_ENV,
environment: import.meta.env.MODE,
tracesSampleRate: 1.0,
});

Expand Down

0 comments on commit 48169fd

Please sign in to comment.