committed by
陈帅
4 changed files with 0 additions and 17 deletions
@ -1,14 +0,0 @@ |
|||
import Rollbar from 'rollbar'; |
|||
|
|||
// Track error by rollbar.com
|
|||
if (window.location.host === 'preview.pro.ant.design') { |
|||
Rollbar.init({ |
|||
accessToken: '033ca6d7c0eb4cc1831cf470c2649971', |
|||
captureUncaught: true, |
|||
captureUnhandledRejections: true, |
|||
hostWhiteList: ['ant.design'], |
|||
payload: { |
|||
environment: 'production', |
|||
}, |
|||
}); |
|||
} |
|||
Loading…
Reference in new issue