aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/views/upload.rocker.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/views/upload.rocker.html')
-rw-r--r--src/main/resources/views/upload.rocker.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/views/upload.rocker.html b/src/main/resources/views/upload.rocker.html
index b36abdc..ec5daa2 100644
--- a/src/main/resources/views/upload.rocker.html
+++ b/src/main/resources/views/upload.rocker.html
@@ -1,8 +1,8 @@
@args (String content)
@layout.template("Upload", RockerContent.NONE, RockerContent.NONE) -> {
-<form action="/api/upload?dir=test" enctype="multipart/form-data" method="post">
- <input multiple name="files" type="file">
+<form action="/upload/test" enctype="multipart/form-data" method="post">
+ <input multiple name="file" type="file">
<button>Submit</button>
</form>
}