expose admin email via /api/config

This commit is contained in:
ansuz 2019-03-28 17:18:04 +01:00
parent 322ceb7ea1
commit 8aeb6246d8
1 changed files with 1 additions and 0 deletions

View File

@ -194,6 +194,7 @@ app.get('/api/config', function(req, res){
websocketURL:'ws' + ((useSecureWebsockets) ? 's' : '') + '://' + host + ':' +
websocketPort + '/cryptpad_websocket',
httpUnsafeOrigin: config.httpUnsafeOrigin,
adminEmail: config.adminEmail,
adminKeys: admins,
}, null, '\t'),
'obj.httpSafeOrigin = ' + (function () {