mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-16 16:14:43 -04:00
Merge pull request #761 from SISheogorath/feature/reportURI
Add config option for report URI in CSP
This commit is contained in:
commit
9cbe03d8a8
4 changed files with 12 additions and 2 deletions
|
@ -15,7 +15,8 @@ module.exports = {
|
|||
preload: toBooleanConfig(process.env.HMD_HSTS_PRELOAD)
|
||||
},
|
||||
csp: {
|
||||
enable: toBooleanConfig(process.env.HMD_CSP_ENABLE)
|
||||
enable: toBooleanConfig(process.env.HMD_CSP_ENABLE),
|
||||
reportURI: process.env.HMD_CSP_REPORTURI
|
||||
},
|
||||
protocolusessl: toBooleanConfig(process.env.HMD_PROTOCOL_USESSL),
|
||||
alloworigin: toArrayConfig(process.env.HMD_ALLOW_ORIGIN),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue