test(custom): 去除监控测试代码
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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/],
|
||||
|
||||
@@ -55,8 +55,4 @@
|
||||
import { useUserStore } from '@/store'
|
||||
|
||||
const userStore = useUserStore()
|
||||
// eslint-disable-next-line no-undef,no-unreachable
|
||||
mytest()
|
||||
|
||||
throw new Error('error')
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user