summaryrefslogtreecommitdiff
path: root/lib/config/index.js
diff options
context:
space:
mode:
authorDavid Mehren2021-05-04 11:10:53 +0200
committerDavid Mehren2021-05-04 11:10:53 +0200
commit0b61f48129e666eed4c34dbbf759ab0013153022 (patch)
tree0f79d601e058c9b5d4384aa3726e90aff198b7ce /lib/config/index.js
parente6d4ac5f9a50b28b9d6e456d7fc343194ab1cbee (diff)
Fix upgradeInsecureRequests CSP directive
The `upgradeInsecureRequests` option of Helmets CSP middleware was a boolean in Helmet 3, but with Helmet 4, everything changed to lists. This commit adjusts the addUpgradeUnsafeRequestsOptionTo function accordingly. Closes #1221 See also https://github.com/helmetjs/helmet/tree/v4.6.0/middlewares/content-security-policy Signed-off-by: David Mehren <git@herrmehren.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions