decide.nolog.cz/config/content-security-policy.js
renovate[bot] b62fee843c
Update dependency ember-cli-content-security-policy to v2 (#592)
* Update dependency ember-cli-content-security-policy to v2

* update configuration

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jeldrik Hanschke <admin@jhanschke.de>
2023-09-21 14:09:49 +02:00

17 lines
386 B
JavaScript

module.exports = function () {
return {
delivery: ['meta'],
enabled: true,
failTests: true,
policy: {
'default-src': ["'none'"],
'script-src': ["'self'"],
'font-src': ["'self'"],
'connect-src': ["'self'"],
'img-src': ["'self'", "data:"],
'style-src': ["'self'"],
'media-src': ["'none'"],
},
reportOnly: false,
};
};