Browse Source

expose admin email via /api/config

master
ansuz 1 year ago
parent
commit
8aeb6246d8
1 changed files with 1 additions and 0 deletions
  1. 1
      server.js

1
server.js

@ -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 () {

Loading…
Cancel
Save