备注功能

This commit is contained in:
2025-11-15 15:47:11 +08:00
parent 03b2ce017a
commit ed6b3393d7
7 changed files with 177 additions and 27 deletions
+1 -1
View File
@@ -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 })
}