diff --git a/src/main/twirl/gitbucket/core/helper/attached.scala.html b/src/main/twirl/gitbucket/core/helper/attached.scala.html index 45469ac..15a822a 100644 --- a/src/main/twirl/gitbucket/core/helper/attached.scala.html +++ b/src/main/twirl/gitbucket/core/helper/attached.scala.html @@ -66,6 +66,8 @@ @dropzone(clickable: Boolean, textareaId: Option[String]) = { url: '@context.path/upload/file/@repository.owner/@repository.name', maxFilesize: @{FileUtil.MaxFileSize / 1024 / 1024}, + //timeout defaults to 30 secs + timeout: @{FileUtil.UploadTimeout}, clickable: @clickable, previewTemplate: "
\n
Uploading your files...
\n
\n
", success: function(file, id) {