mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-29 05:00:43 +10:00
Add self to the example directive default value
This commit is contained in:
parent
775d5fe818
commit
84b79f30d7
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue