|
@@ -27,6 +27,7 @@ async function bootstrap() {
|
|
|
|
|
|
|
|
// multipart for file upload (e.g. OSS, S3)
|
|
// multipart for file upload (e.g. OSS, S3)
|
|
|
await fastifyAdapter.register(multipart as any, {
|
|
await fastifyAdapter.register(multipart as any, {
|
|
|
|
|
+ attachFieldsToBody: true,
|
|
|
limits: {
|
|
limits: {
|
|
|
fileSize: 30 * 1024 * 1024, // 30 MB
|
|
fileSize: 30 * 1024 * 1024, // 30 MB
|
|
|
},
|
|
},
|