config docs

This commit is contained in:
2025-07-20 23:59:30 +01:00
parent d54b682267
commit 590d675075
4 changed files with 102 additions and 113 deletions

2
app.js
View File

@@ -388,7 +388,7 @@ app.post("/submit_comment", (req,res) => {
const unix_timestamp = getUnixTime(new Date())
let name = escape_input(req.body.name)
if (name == "") {
name = config.default_username
name = config.default_commenter_username
}
new_comment = {
"name": name,