Another batch of important updates and fixes

This commit is contained in:
Luka Romih
2026-02-23 15:29:58 +01:00
parent d0e53fee3b
commit fd02e25719
40 changed files with 216 additions and 71 deletions
+10
View File
@@ -0,0 +1,10 @@
const db = require('../db')
const Misc = {}
// Log a successful honeypot catch.
Misc.logHoneypotCatch = async body => {
await db.query('INSERT INTO honeypot_log (body_content) VALUES ($1)', [body])
}
module.exports = Misc