This commit is contained in:
2026-05-28 21:15:47 +02:00
parent 420f58c85a
commit 6be580dc92
3 changed files with 24 additions and 5 deletions

View File

@@ -1147,6 +1147,7 @@ process.on('uncaughtException', err => {
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',
fileupload_comments_mimes: Array.isArray(cfg.websrv.fileupload_comments_mimes) ? cfg.websrv.fileupload_comments_mimes : ['image', 'video', 'audio'],
get fonts() {
try {