内置存储上传文件上限改为200MB
This commit is contained in:
@@ -201,7 +201,7 @@ public class UploadFileAction extends Action {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (remoteFileSize > 50 * 1024 * 1024) {
|
if (remoteFileSize > 200 * 1024 * 1024) {
|
||||||
logger.warn("file over limite!(" + remoteFileSize + ")");
|
logger.warn("file over limite!(" + remoteFileSize + ")");
|
||||||
response.setStatus(HttpResponseStatus.BAD_REQUEST);
|
response.setStatus(HttpResponseStatus.BAD_REQUEST);
|
||||||
response.setContent("file over limite!");
|
response.setContent("file over limite!");
|
||||||
|
|||||||
Reference in New Issue
Block a user