make wss CSP headers configurable again

This commit is contained in:
ansuz
2016-10-12 13:03:36 +02:00
parent 40bac1df55
commit 0fe62f8c75
2 changed files with 6 additions and 1 deletions

View File

@@ -25,6 +25,11 @@ module.exports = {
*/
//websocketPort: 3000,
/* If Cryptpad is proxied without using https, the server needs to know.
* Specify 'useSecureWebsockets: true' so that it can send
* Content Security Policy Headers that prevent http and https from mixing
*/
useSecureWebsockets: false,
/* Cryptpad can log activity to stdout
* This may be useful for debugging