diff options
Diffstat (limited to 'templates/upload.html')
| -rw-r--r-- | templates/upload.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/upload.html b/templates/upload.html index 2967416..54c2ccd 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -36,6 +36,6 @@ </div> {{end}} {{define "scripts"}} - <script>window['MAX_UPLOAD_SIZE'] = '{{.MAX_UPLOAD_SIZE}}';</script> + <script>window['MAX_UPLOAD_SIZE'] = '{{.Config.Server.MaxUploadSize}}';</script> <script type="application/javascript" src="/static/upload.js"></script> {{end}} |
