1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2025-12-16 03:08:47 +00:00

Add screenshot tester

This commit is contained in:
Cadence Ember
2020-06-21 04:09:36 +12:00
parent b439158cbc
commit ee2626924a
17 changed files with 860 additions and 12 deletions

View File

@@ -60,7 +60,7 @@ function cleanCSRF() {
db.prepare("DELETE FROM CSRFTokens WHERE expires <= ?").run(Date.now())
}
cleanCSRF()
setInterval(cleanCSRF, constants.caching.csrf_time)
setInterval(cleanCSRF, constants.caching.csrf_time).unref()
module.exports.getToken = getToken
module.exports.getSettings = getSettings