perf: 接口大小

This commit is contained in:
archer
2023-04-07 15:46:30 +08:00
parent 7811f7482b
commit 84d91f3f76
2 changed files with 10 additions and 2 deletions

View File

@@ -76,3 +76,11 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
});
}
}
export const config = {
api: {
bodyParser: {
sizeLimit: '10mb'
}
}
};