img and push data size

This commit is contained in:
archer
2023-05-20 16:24:52 +08:00
parent b66952ad98
commit bd9d83e630
5 changed files with 12 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ const WxConcat = ({ onClose }: { onClose: () => void }) => {
<ModalBody textAlign={'center'}>
<Image
style={{ margin: 'auto' }}
src={'https://otnvvf-imgs.oss.laf.run/wx300.png'}
src={'https://otnvvf-imgs.oss.laf.run/wx300.jpg'}
width={'200px'}
height={'200px'}
alt=""

View File

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