From 7d68af16df55eaa9cf39195caa8bbd19ac9b721e Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 16 Jul 2018 16:35:42 +0800 Subject: [PATCH] Add hostWhiteList for rollbar --- src/rollbar.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rollbar.js b/src/rollbar.js index f333309f..b62df996 100644 --- a/src/rollbar.js +++ b/src/rollbar.js @@ -6,6 +6,7 @@ if (location.host === 'preview.pro.ant.design') { accessToken: '033ca6d7c0eb4cc1831cf470c2649971', captureUncaught: true, captureUnhandledRejections: true, + hostWhiteList: ['ant.design'], payload: { environment: 'production', }, -- GitLab