remove 1g limit

This commit is contained in:
codeskyblue
2017-09-11 13:22:13 +08:00
parent 7587b8067a
commit 1b217ca440
3 changed files with 5 additions and 2 deletions

2
.ghs.yml Normal file
View File

@@ -0,0 +1,2 @@
upload: true
delete: false

View File

@@ -32,6 +32,7 @@ archive:
- README* - README*
- changelog* - changelog*
- CHANGELOG* - CHANGELOG*
- .ghs.yml
snapshot: snapshot:
name_template: SNAPSHOT-{{ .Commit }} name_template: SNAPSHOT-{{ .Commit }}
checksum: checksum:

View File

@@ -111,7 +111,7 @@ var vm = new Vue({
}) })
this.myDropzone = new Dropzone("#upload-form", { this.myDropzone = new Dropzone("#upload-form", {
paramName: "file", paramName: "file",
maxFilesize: 1024, maxFilesize: 10240,
addRemoveLinks: true, addRemoveLinks: true,
init: function() { init: function() {
this.on("uploadprogress", function(file, progress) { this.on("uploadprogress", function(file, progress) {
@@ -374,4 +374,4 @@ $(function() {
e.clearSelection(); e.clearSelection();
}); });
}); });