备注功能
This commit is contained in:
@@ -19,7 +19,7 @@ export async function POST(req: NextRequest) {
|
||||
return Response.json({ error: first?.message ?? 'invalid body' }, { status: 400 })
|
||||
}
|
||||
const { code, fit, recStartMs, recEndMs } = parsed.data
|
||||
if (code.length > 4096) {
|
||||
if (code.length > 16384) {
|
||||
return Response.json({ error: 'payload too large' }, { status: 413 })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user