From 927116db5f6cff2cc54dc6c94d277ca72f4ad3de Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Thu, 4 Jan 2018 02:03:35 +0300 Subject: [PATCH] =?UTF-8?q?Sentry=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B2=20=D0=B4=D0=BE=D0=BF=D1=83=D1=81=D1=82?= =?UTF-8?q?=D0=B8=D0=BC=D1=8B=D0=B9=20=D1=81=D0=BF=D0=B8=D1=81=D0=BE=D0=BA?= =?UTF-8?q?=20connect-src=20=D0=B4=D0=BB=D1=8F=20CSP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 4721742..66d1c0b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -330,7 +330,7 @@ if (isCspEnabled) { ], 'img-src': ['\'self\'', 'data:', 'www.google-analytics.com'], 'font-src': ['\'self\'', 'data:'], - 'connect-src': isProduction ? ['\'self\''] : ['\'self\'', 'ws://localhost:8080'], + 'connect-src': ['\'self\'', 'https://sentry.ely.by'].concat(isProduction ? [] : ['ws://localhost:8080']), 'frame-src': ['https://www.google.com/recaptcha/'], 'report-uri': 'https://sentry.ely.by/api/2/csp-report/?sentry_key=088e7718236a4f91937a81fb319a93f6', }));