From efa490a50f5849205645384ee7910764bf929794 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Sat, 10 Mar 2018 14:34:14 +0100 Subject: Add config option for report URI in CSP This option is needed as it's currently not possible to add an report URI by the directives array. This option also allows to get CSP reports not only on docker based setup but also on our heroku instances. Signed-off-by: Sheogorath --- lib/config/default.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/config/default.js') diff --git a/lib/config/default.js b/lib/config/default.js index 06e887f4..7407ec60 100644 --- a/lib/config/default.js +++ b/lib/config/default.js @@ -18,7 +18,8 @@ module.exports = { directives: { }, addDefaults: true, - upgradeInsecureRequests: 'auto' + upgradeInsecureRequests: 'auto', + reportURI: undefined }, protocolusessl: false, usecdn: true, -- cgit v1.2.3