delete token & upload response struct to return delete token and sha256 as hex

This commit is contained in:
2026-11-10 12:05:33 -05:00
parent 33b1b579d6
commit 4c25a66f0f
3 changed files with 15 additions and 5 deletions
+2 -2
View File
@@ -8,13 +8,13 @@
<body>
<h1>{{.Title}}</h1>
<p>{{.Description}}</p>
<form action="/paste" method="post">
<form action="/upload" method="post">
<label for="content">paste content</label>
<textarea id="content" name="content" rows="10" required></textarea>
<button type="submit">upload paste</button>
</form>
<form action="/file" method="post" enctype="multipart/form-data">
<form action="/upload" method="post" enctype="multipart/form-data">
<input type="file" required name="file"/>
<button type="submit">upload File</button>
</form>