feat: copy settings config

This commit is contained in:
archer
2023-08-16 18:21:55 +08:00
parent a149b3a2ce
commit 2c174aa91c
8 changed files with 173 additions and 69 deletions

View File

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