enhance(frontend): サイズ制限を超過するファイルをアップロードしようとした際にエラーを出すように
This commit is contained in:
@@ -49,7 +49,7 @@ export class ApiServerService {
|
||||
|
||||
fastify.register(multipart, {
|
||||
limits: {
|
||||
fileSize: this.config.maxFileSize ?? 262144000,
|
||||
fileSize: this.config.maxFileSize,
|
||||
files: 1,
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user