display correct pad expiration time based on /api/config

This commit is contained in:
ansuz
2019-08-30 15:17:03 +02:00
parent 1ec1d8b0e0
commit 42528632ac
3 changed files with 12 additions and 3 deletions

View File

@@ -217,6 +217,7 @@ app.get('/api/config', function(req, res){
httpUnsafeOrigin: config.httpUnsafeOrigin,
adminEmail: config.adminEmail,
adminKeys: admins,
inactiveTime: config.inactiveTime,
supportMailbox: config.supportMailboxPublicKey
}, null, '\t'),
'obj.httpSafeOrigin = ' + (function () {