Add self to the example directive default value

This commit is contained in:
Kimmo Puputti 2018-03-20 11:05:23 +02:00
parent 775d5fe818
commit 84b79f30d7

View file

@ -81,7 +81,7 @@ module.exports = (reportUri, enforceSsl, reportOnly) => {
// https://content-security-policy.com/
// Example: extend default img directive with custom domain
// const { imgSrc = [] } = defaultDirectives;
// const { imgSrc = [self] } = defaultDirectives;
// const exampleImgSrc = imgSrc.concat('my-custom-domain.example.com');
const customDirectives = {