Update blocked page with command line to unblock

This commit is contained in:
Cadence Ember
2020-06-12 04:09:28 +12:00
parent 09a747e315
commit 78a41aada9
7 changed files with 317 additions and 11 deletions

View File

@@ -102,6 +102,8 @@ module.exports = [
"Retry-After": userRequestCache.getTtl("user/"+fill[0], 1000)
},
content: pugCache.get("pug/blocked.pug").web({
website_origin: constants.website_origin,
username: fill[0],
expiresMinutes: userRequestCache.getTtl("user/"+fill[0], 1000*60),
getStaticURL
})