mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #18732 from overleaf/jpa-server-pro-csp
[server-ce] enable CSP by default in Server CE/Pro GitOrigin-RevId: 8c7664a39f688a748f33e3158b594b9368457661
This commit is contained in:
parent
dd7970c11d
commit
06607b5c51
1 changed files with 4 additions and 0 deletions
|
@ -208,6 +208,10 @@ const settings = {
|
|||
process.env.OVERLEAF_SESSION_SECRET || process.env.CRYPTO_RANDOM,
|
||||
},
|
||||
|
||||
csp: {
|
||||
enabled: process.env.OVERLEAF_CSP_ENABLED !== 'false',
|
||||
},
|
||||
|
||||
// These credentials are used for authenticating api requests
|
||||
// between services that may need to go over public channels
|
||||
httpAuthUsers,
|
||||
|
|
Loading…
Reference in a new issue