summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/upload.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/upload.html b/templates/upload.html
index 1ba2fb6..2967416 100644
--- a/templates/upload.html
+++ b/templates/upload.html
@@ -36,5 +36,6 @@
</div>
{{end}}
{{define "scripts"}}
+ <script>window['MAX_UPLOAD_SIZE'] = '{{.MAX_UPLOAD_SIZE}}';</script>
<script type="application/javascript" src="/static/upload.js"></script>
{{end}}