message: 'request entity too large’ expected: 192044 length: 192044 limit: 102400 type: ‘entity.too.large’
在上传了一个音频文件的base64以后就报这个错。。请问egg在哪里可以修改body的请求大小限制啊。。
找到了,, config.bodyParser = { jsonLimit: ‘100mb’, };
CNode 社区为国内最专业的 Node.js 开源技术社区,致力于 Node.js 的技术研究。
找到了,, config.bodyParser = { jsonLimit: ‘100mb’, };