From 824c6f41e223c877518dffb77776fe4afd9b19f0 Mon Sep 17 00:00:00 2001 From: Daan Sprenkels Date: Mon, 16 Dec 2019 09:53:36 +0530 Subject: [PATCH] Enable submit using web interface --- assets/templates/html/index.html.tmpl | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/assets/templates/html/index.html.tmpl b/assets/templates/html/index.html.tmpl index 7f6f45b..5a5d321 100644 --- a/assets/templates/html/index.html.tmpl +++ b/assets/templates/html/index.html.tmpl @@ -1,13 +1,27 @@ {{define "body"}} -
-#RU URL SHORTENER
-=================
+

#RU paste-dump

-Based on https://0x0.st/, this site allows you to easily shorten URLs using +Based on https://0x0.st/, this site allows you to easily upload files and shorten URLs using the command line. -## USAGE +

Web-API

+
+
+ + + +
+
+
+
+ + + +
+
+

Command line API

+
     # Upload a file
     curl -F'file=@yourfile.png' {{.Host}}