diff --git a/assets/templates/html/index.html.tmpl b/assets/templates/html/index.html.tmpl index a182d7f..37f1f7f 100644 --- a/assets/templates/html/index.html.tmpl +++ b/assets/templates/html/index.html.tmpl @@ -8,10 +8,13 @@ the command line. ## USAGE + # Upload a file + curl -F'file=@yourfile.png' {{.Request.Host}} + # Shorten a URL curl -F'shorten=http://example.com/some/long/url' https://{{.Request.Host}} # Shorten a URL with a token to delete it later curl -F'shorten=http://example.com/some/long/url' -F'deleteToken=' https://{{.Request.Host}} -{{end}} +{{end}} \ No newline at end of file diff --git a/assets/templates/txt/index.txt.tmpl b/assets/templates/txt/index.txt.tmpl index 9dd38e7..eb8b0f2 100644 --- a/assets/templates/txt/index.txt.tmpl +++ b/assets/templates/txt/index.txt.tmpl @@ -6,6 +6,9 @@ the command line. ## USAGE + # Upload a file + curl -F'file=@yourfile.png' {{.Request.Host}} + # Shorten a URL curl -F'shorten=http://example.com/some/long/url' https://{{.Request.Host}}