fix the curl message

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-10-30 09:58:37 +05:30
parent 365a7635f6
commit 73edc786e4

View File

@@ -70,8 +70,8 @@ fn index() -> String {
format!( format!(
"Use curl to upload:\n\ "Use curl to upload:\n\
curl -F file=@\"[file]\\n\" {url}\n\ curl -F file=@\"[file]\\n\" {url}\n\
If key is enabled then a header \"key\" might be required in which case it would be\n\ If key is enabled then a field \"key\" might be required in which case it would be\n\
curl -F file=@\"[file]\" --header \"key: [key]\" {url}", curl -F file=@\"[file]\" --F \"key=[key]\" {url}",
url = env_user_url() url = env_user_url()
) )
} }