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.
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}}.