decide.nolog.cz/config/content-security-policy.js
2023-10-15 20:37:03 +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,
};
};