Skip to content

Commit

Permalink
'删除sentry'
Browse files Browse the repository at this point in the history
  • Loading branch information
lujiehui committed Nov 7, 2019
1 parent 51eb2f8 commit 4e975dc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import '@/icons' // icon
import '@/style/common.scss'
import { Lazyload } from 'vant'
import defaultSettings from '@/settings'
import * as Sentry from '@sentry/browser'
import * as Integrations from '@sentry/integrations'

/**
* If you don't want to use mock-server
Expand All @@ -23,10 +21,6 @@ import * as Integrations from '@sentry/integrations'
*/
import { mockXHR } from '../mock'

Sentry.init({
dsn: 'https://[email protected]/1800421',
integrations: [new Integrations.Vue({ Vue, attachProps: true })]
})
if (process.env.NODE_ENV === 'production') {
mockXHR()
}
Expand Down

0 comments on commit 4e975dc

Please sign in to comment.