From 0a67998c7a4146266afb8437c1df852f324df3d9 Mon Sep 17 00:00:00 2001 From: Marc Ole Bulling Date: Sun, 11 Apr 2021 21:46:23 +0200 Subject: [PATCH] Changed upload timeout from 30s to 2h --- static/js/admin.js | 1 + templates/html_admin.tmpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/admin.js b/static/js/admin.js index 6116930..2833a3d 100644 --- a/static/js/admin.js +++ b/static/js/admin.js @@ -5,6 +5,7 @@ var dropzoneObject; Dropzone.options.uploaddropzone = { paramName: "file", + timeout: 7200000, createImageThumbnails: false, success: function (file, response) { addRow(response) diff --git a/templates/html_admin.tmpl b/templates/html_admin.tmpl index 5e74a82..0dc242b 100644 --- a/templates/html_admin.tmpl +++ b/templates/html_admin.tmpl @@ -70,7 +70,7 @@ - + {{ template "footer" }}