summaryrefslogtreecommitdiff
path: root/templates/upload.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/upload.tmpl')
-rw-r--r--templates/upload.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/upload.tmpl b/templates/upload.tmpl
index 49b0212..ab0bddb 100644
--- a/templates/upload.tmpl
+++ b/templates/upload.tmpl
@@ -15,7 +15,7 @@
</script>
#end def
#def content
- <form method="post" action="/u" enctype="multipart/form-data">
+ <form method="post" action="${root}u" enctype="multipart/form-data">
<input type="hidden" id="filename" name="filename" />
<p><input type="file" id="file" name="file" onchange="file_changed()" /></p>
<p><input type="submit" value="Upload" /></p>