diff --git a/.ghs.yml b/.ghs.yml new file mode 100644 index 0000000..b8d7562 --- /dev/null +++ b/.ghs.yml @@ -0,0 +1,2 @@ +upload: true +delete: false diff --git a/.goreleaser.yml b/.goreleaser.yml index 05c785d..cb9ff9d 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -32,6 +32,7 @@ archive: - README* - changelog* - CHANGELOG* + - .ghs.yml snapshot: name_template: SNAPSHOT-{{ .Commit }} checksum: diff --git a/res/js/index.js b/res/js/index.js index c7c1e42..3bbf649 100644 --- a/res/js/index.js +++ b/res/js/index.js @@ -111,7 +111,7 @@ var vm = new Vue({ }) this.myDropzone = new Dropzone("#upload-form", { paramName: "file", - maxFilesize: 1024, + maxFilesize: 10240, addRemoveLinks: true, init: function() { this.on("uploadprogress", function(file, progress) { @@ -374,4 +374,4 @@ $(function() { e.clearSelection(); }); -}); \ No newline at end of file +});