From f1c996058e9892c76e03165713af327a01a81a1b Mon Sep 17 00:00:00 2001
From: whoswhip
Date: Sat, 14 Nov 2026 14:50:35 -0500
Subject: [PATCH] readmeeee
---
readme.md | 2 +-
templates/faq.html | 7 +++++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/readme.md b/readme.md
index 8687ae6..95ae190 100644
--- a/readme.md
+++ b/readme.md
@@ -37,7 +37,7 @@ goals:
## misc goals
- [x] link to this git repo on home page
-- [ ] maybe keep nojs and js on the same page?
+- [x] maybe keep nojs and js on the same page?
- just use javascript to enhance the experience, like progress, drag and drop
- [ ] shareX config download handlers (automatically create based off of config)
- [ ] add a config option to put the endpoint on another path, such as `/f/{id}`
diff --git a/templates/faq.html b/templates/faq.html
index c0ca2b2..35270df 100644
--- a/templates/faq.html
+++ b/templates/faq.html
@@ -25,8 +25,11 @@
especially photos from a phone as they may contain GPS data.
how do i upload via the api?
- send a POST request to /upload. for files, use multipart form data with a field named file. for pastes, send the text with Content-Type: text/plain.
-
+
+ send a POST request to /upload. for files,
+ use multipart form data with a field named file.
+ for pastes, send the text with Content-Type: text/plain.
+
to add an expiry, append ?expiry={value}.
supported values are:
{{range $i, $expiry := .Expiries}}{{if $i}},{{end}}{{$expiry.Label}}{{end}}.