fix: raise JSON body limit to 10mb for cover art upload

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
HoneyandClaude Sonnet 4.6 committed 2026-05-23 20:00:48 +02:00
1 parent 5559857c15
commit c9fe1da1b0
1 file changed
+1 -1
+1 -1
View File
@@ -31,7 +31,7 @@ app.use((req, res, next) => {
if (req.method === 'OPTIONS') { res.sendStatus(204); return; } if (req.method === 'OPTIONS') { res.sendStatus(204); return; }
next(); next();
}); });
app.use(express.json()); app.use(express.json({ limit: '10mb' }));
let ytdlpVersion = 'unknown'; let ytdlpVersion = 'unknown';
try { try {