diff --git a/.env.test b/.env.test index 304db15..2a4622b 100644 --- a/.env.test +++ b/.env.test @@ -26,4 +26,4 @@ VITE_GAME_API='https://game.wanzhuanyongcheng.cn' VITE_MER_LOGIN_URL='//test.wanzhuanyongcheng.cn/static/mer/#/login' # 是否启用监控 -VITE_SENTRY=true +VITE_SENTRY=false diff --git a/src/router/index.js b/src/router/index.js index ced83fb..60d6e48 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -18,7 +18,7 @@ export async function setupRouter(app) { if (import.meta.env.VITE_SENTRY) { Sentry.init({ app, - dsn: 'https://a0b6f167271366f40f05e238d63a6fa0@w.huakk.top/11', + dsn: 'https://1c158d5f832eef396e69447959d902d2@w.huakk.top/12', integrations: [ new Sentry.BrowserTracing({ tracePropagationTargets: ['localhost', /^https:\/\/w\.huakk\.top\/api/], diff --git a/src/views/workbench/index.vue b/src/views/workbench/index.vue index 6c0f2b5..51564c3 100644 --- a/src/views/workbench/index.vue +++ b/src/views/workbench/index.vue @@ -55,8 +55,4 @@ import { useUserStore } from '@/store' const userStore = useUserStore() -// eslint-disable-next-line no-undef,no-unreachable -mytest() - -throw new Error('error')