项目文件上传:单文件 ≤ 50 MiB、总计 ≤ 200 MiB、最多 500 个文件
This commit is contained in:
+2
-2
@@ -17,8 +17,8 @@ import java.util.Map;
|
||||
public class VibemakeProperties {
|
||||
private Map<String, String> types = defaultTypes();
|
||||
private long maxTextBytes = 1024 * 1024;
|
||||
private long maxFileBytes = 10 * 1024 * 1024;
|
||||
private long maxRequestBytes = 50 * 1024 * 1024;
|
||||
private long maxFileBytes = 50 * 1024 * 1024;
|
||||
private long maxRequestBytes = 200 * 1024 * 1024;
|
||||
private Duration captchaTtl = Duration.ofMinutes(2);
|
||||
private Duration tokenTtl = Duration.ofHours(24);
|
||||
private Gitea gitea = new Gitea();
|
||||
|
||||
Reference in New Issue
Block a user