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:
1 parent
5559857c15
commit
c9fe1da1b0
1 file changed
+1
-1
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user