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