mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 15:14:56 -04:00
Merge pull request #598 from xxyy/feature/csp
Implement basic CSP support
This commit is contained in:
commit
7de6e3211f
12 changed files with 132 additions and 15 deletions
|
@ -13,6 +13,13 @@ module.exports = {
|
|||
includeSubdomains: true,
|
||||
preload: true
|
||||
},
|
||||
csp: {
|
||||
enable: true,
|
||||
directives: {
|
||||
},
|
||||
addDefaults: true,
|
||||
upgradeInsecureRequests: 'auto'
|
||||
},
|
||||
protocolusessl: false,
|
||||
usecdn: true,
|
||||
allowanonymous: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue