limit attachments in comments

This commit is contained in:
2026-05-16 21:00:27 +02:00
parent 32499fed36
commit 3cfb9dfc04
4 changed files with 40 additions and 0 deletions

View File

@@ -1094,6 +1094,7 @@ process.on('uncaughtException', err => {
allow_fileupload_comments: cfg.websrv.allow_fileupload_comments || false,
fileupload_comments_multifile: cfg.websrv.fileupload_comments_multifile || false,
fileupload_comments_size: cfg.websrv.fileupload_comments_size || (10 * 1024 * 1024),
fileupload_comments_max: cfg.websrv.fileupload_comments_max || 5,
fileupload_comments_mode: cfg.websrv.fileupload_comments_mode || 'attachment',
get fonts() {