try blacklisting ads url
This commit is contained in:
parent
8192e709f5
commit
e69703436a
1 changed files with 4 additions and 1 deletions
|
@ -48,7 +48,10 @@ import apiPublishCallViaWeb from 'lbrytv/setup/publish';
|
||||||
// We still add code in analytics.js to send the error to sentry manually
|
// We still add code in analytics.js to send the error to sentry manually
|
||||||
// If it's caught by componentDidCatch in component/errorBoundary, it will not bubble up to this error reporter
|
// If it's caught by componentDidCatch in component/errorBoundary, it will not bubble up to this error reporter
|
||||||
if (process.env.NODE_ENV === 'production') {
|
if (process.env.NODE_ENV === 'production') {
|
||||||
Sentry.init({ dsn: 'https://f93af3fa9c94470d9a0a22602cce3154@sentry.io/1877677' });
|
Sentry.init({
|
||||||
|
dsn: 'https://f93af3fa9c94470d9a0a22602cce3154@sentry.io/1877677',
|
||||||
|
blacklistUrls: ['assets.revcontent.com'],
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const PROXY_PATH = 'api/v1/proxy';
|
const PROXY_PATH = 'api/v1/proxy';
|
||||||
|
|
Loading…
Reference in a new issue