add return type query on upload, will eventually use to have an after upload page

This commit is contained in:
2026-11-12 19:13:37 -05:00
parent 505cb7f757
commit 490f010999
2 changed files with 20 additions and 17 deletions
+2 -2
View File
@@ -16,7 +16,7 @@
<input type="radio" name="upload-type" id="type-paste" />
<label for="type-paste">paste</label>
<div class="file-panel">
<form action="/upload?redirect=true" method="post" enctype="multipart/form-data">
<form action="/upload?return=redirect" method="post" enctype="multipart/form-data">
<label for="file-expiry">expiry</label>
<select id="paste-expiry" name="expiry">
{{range .Expiries}}
@@ -28,7 +28,7 @@
</form>
</div>
<div class="paste-panel">
<form action="/upload?redirect=true" method="post">
<form action="/upload?return=redirect" method="post">
<label for="paste-expiry">expiry</label>
<select id="paste-expiry" name="expiry">