summaryrefslogtreecommitdiff
path: root/templates/upload.html
diff options
context:
space:
mode:
authorSrxr <10549030+srxr@users.noreply.github.com>2021-06-08 21:22:14 +0800
committerGitHub <noreply@github.com>2021-06-08 23:22:14 +1000
commite743a9a425ee3197649aa2c4996b8566bf75896d (patch)
tree3fea1b47e2d180684cecc356b3194e1d8cae7540 /templates/upload.html
parent7e3d72c24f96d33a89889b0f441b2b76367bd0e7 (diff)
Remove proprietary notices about video (#40)
* Make content proprietary configurable * Update README * Fixed a few template context bugs Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Diffstat (limited to 'templates/upload.html')
-rw-r--r--templates/upload.html2
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}}