update default configuration file with new attributes and comments

This commit is contained in:
ansuz
2017-05-30 15:35:51 +02:00
parent a70014dd11
commit 605377cf31
3 changed files with 44 additions and 31 deletions

View File

@@ -121,7 +121,9 @@ app.get('/api/config', function(req, res){
waitSeconds: 60,
urlArgs: 'ver=' + Package.version + (DEV_MODE? '-' + (+new Date()): ''),
},
noSubscriptionButton: (config.noSubscriptionButton === true),
removeDonateButton: (config.removeDonateButton === true),
allowSubscriptions: (config.allowSubscriptions === true),
websocketPath: config.useExternalWebsocket ? undefined : config.websocketPath,
websocketURL:'ws' + ((useSecureWebsockets) ? 's' : '') + '://' + host + ':' +
websocketPort + '/cryptpad_websocket',