diff options
| author | pantsucat <contact@pantsu.cat> | 2015-09-15 05:37:16 +0200 |
|---|---|---|
| committer | pantsucat <contact@pantsu.cat> | 2015-09-15 05:37:16 +0200 |
| commit | 46fb450af49fedc33acbc2870e460b42fda98778 (patch) | |
| tree | 528cd4674f438d9b8faebc82055021e3c89cdef2 | |
| parent | 4cd78a6d718383b967158cbc59a114378a99ec3d (diff) | |
Increased max_upload_size in Gruntfile.js and reverted changed to pages/upload_form.swig
| -rw-r--r-- | Gruntfile.js | 2 | ||||
| -rw-r--r-- | pages/upload_form.swig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 7581083..a94e3a8 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -9,7 +9,7 @@ module.exports = function (grunt) { autoescape: true }, banners: grunt.file.readJSON('pages/banners.json'), - max_upload_size: 50, + max_upload_size: 120, dest: "dist/", cwd: "pages/", generateSitemap: false, diff --git a/pages/upload_form.swig b/pages/upload_form.swig index ae7c5d6..c5a00ce 100644 --- a/pages/upload_form.swig +++ b/pages/upload_form.swig @@ -1,3 +1,3 @@ <a href="javascript:;" id="upload-btn" class="btn">Select <span>or drop </span>file(s)</a> -<input type="file" id="upload-input" name="files[]" multiple data-max-size="120MiB"> +<input type="file" id="upload-input" name="files[]" multiple data-max-size="{{max_upload_size}}MiB"> <ul id="upload-filelist"></ul> |
