Commit 9ebc0c96 authored by Antoine Fontaine's avatar Antoine Fontaine 👣

Fixup type=text/plain field in suggested command

parent ade7395d
Pipeline #1941 canceled with stages
in 2 minutes and 34 seconds
gnupaste (2.1.6) unstable; urgency=medium
* Fixup type=text/plain field in suggested command
-- Antoine Fontaine <antoine.fontaine@epfl.ch> Tue, 08 Jan 2021 17:41:20 +0100
gnupaste (2.1.4) unstable; urgency=medium
* Add a newline to the returned url
......
......@@ -37,7 +37,7 @@ homepage url = (docTypeHtml ! lang "en" $ do
h1 "GnuPaste"
h2 "Usage"
code $ "<command> | curl -F 'file=@-' -F 'text/plain' "
code $ "<command> | curl -F 'file=@-' -F 'type=text/plain' "
<> toHtml url
h2 "Details"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment