From 801ac8adbb9455dcd7b1e9092740ac90e0172254 Mon Sep 17 00:00:00 2001 From: Gerdriaan Mulder Date: Sat, 9 Nov 2019 21:46:40 +0100 Subject: [PATCH] Remove file storage possibility for now (awaits #12) --- assets/templates/html/index.html.tmpl | 5 +---- assets/templates/txt/index.txt.tmpl | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/assets/templates/html/index.html.tmpl b/assets/templates/html/index.html.tmpl index 7eae1d1..7b839d7 100644 --- a/assets/templates/html/index.html.tmpl +++ b/assets/templates/html/index.html.tmpl @@ -8,13 +8,10 @@ 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' {{.Request.Host}} # Shorten a URL with a token to delete it later curl -F'shorten=http://example.com/some/long/url' -F'deleteToken=' {{.Request.Host}} -{{end}} \ No newline at end of file +{{end}} diff --git a/assets/templates/txt/index.txt.tmpl b/assets/templates/txt/index.txt.tmpl index ac238f4..20b7c15 100644 --- a/assets/templates/txt/index.txt.tmpl +++ b/assets/templates/txt/index.txt.tmpl @@ -6,11 +6,8 @@ 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' {{.Request.Host}} # Shorten a URL with a token to delete it later - curl -F'shorten=http://example.com/some/long/url' -F'deleteToken=' {{.Request.Host}} \ No newline at end of file + curl -F'shorten=http://example.com/some/long/url' -F'deleteToken=' {{.Request.Host}}