From 915b63a528c3790095fc7c30baada46f18153254 Mon Sep 17 00:00:00 2001 From: "Go Johansson (neku)" Date: Sun, 10 Dec 2023 16:41:12 +0100 Subject: [PATCH] 1.8.3 --- src/static/css/uguu.css | 20 +++++++++++++++++++- src/templates/api.ejs | 2 +- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/static/css/uguu.css b/src/static/css/uguu.css index bdcf7bf..5d08951 100755 --- a/src/static/css/uguu.css +++ b/src/static/css/uguu.css @@ -369,7 +369,7 @@ progress[value]::-webkit-progress-bar { margin-left: 15px; } .file-url a:before { - content: "http://"; + content: "https://"; } .alert { font-size: 13px; @@ -398,3 +398,21 @@ progress[value]::-webkit-progress-bar { .js #upload-btn { display: inline-block !important; } + +/* + * inline command block + */ +kbd { + padding: 0.1875rem 0.375rem; + font-size: 0.875em; + color: #FFFFFF; + background-color: #333333; + border-radius: 0.25rem; +} +kbd kbd { + padding: 0; + font-size: 1em; +} +kbd:before { + content: "$ " +} \ No newline at end of file diff --git a/src/templates/api.ejs b/src/templates/api.ejs index e34c8bd..9bf8b0b 100755 --- a/src/templates/api.ejs +++ b/src/templates/api.ejs @@ -6,7 +6,7 @@

You may POST an array of files to <%= DOMAIN %>/upload.php, by default you will get a json response.

-

For example using Curl: curl -i -F files[]=@yourfile.jpeg <%= DOMAIN %>/upload.php

+

For example using Curl: curl -i -F files[]=@yourfile.jpeg <%= DOMAIN %>/upload.php

If you want a response in something else than json you add a flag to specify what format you want, for example <%= DOMAIN %>/upload.php?output=csv.

Valid response types are: json, csv, text, html and gyazo.