From 947d327844ae8b117ba5a5a5ae3d18ffcff58312 Mon Sep 17 00:00:00 2001 From: "Go Johansson (neku)" Date: Sun, 10 Dec 2023 17:06:14 +0100 Subject: [PATCH] 1.8.3 --- src/static/css/uguu.css | 6 +----- src/templates/api.ejs | 6 ++++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/static/css/uguu.css b/src/static/css/uguu.css index 8f19776..844e93b 100755 --- a/src/static/css/uguu.css +++ b/src/static/css/uguu.css @@ -398,20 +398,16 @@ progress[value]::-webkit-progress-bar { .js #upload-btn { display: inline-block !important; } - /* * inline command block */ kbd { padding: 0.1875rem 0.375rem; + font-size: 13px; color: #FFFFFF; background-color: #444444; 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 3d390c3..e98405b 100755 --- a/src/templates/api.ejs +++ b/src/templates/api.ejs @@ -1,14 +1,16 @@ <%- include('./partials/header.ejs'); -%>
-

<%= siteName %> Tools

+

<%= siteName %> API

+

Endpoint

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

-

For example using Curl: curl -i -F files[]=@yourfile.jpeg https://<%= 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 https://<%= DOMAIN %>/upload.php?output=csv.

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

+

Curl Example

+

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

<%- include('./partials/footer.ejs'); -%> \ No newline at end of file