From 8e9ffa2405518c52b76505942cf55b2b13e8ef7f Mon Sep 17 00:00:00 2001 From: CronyAkatsuki Date: Wed, 20 Dec 2023 17:37:15 +0100 Subject: [PATCH] Fix up names in index.html --- public/views/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/views/index.html b/public/views/index.html index ec4e163..bb7b84b 100644 --- a/public/views/index.html +++ b/public/views/index.html @@ -19,15 +19,15 @@

To upload files use curl: - curl -F "file=@/path/to/file" "{{index . "host"}}" + curl -F "file=@/path/to/file" "{{.Host}}"

To delete a file using curl: - curl "{{index . "host"}}/delete/file_name" + curl "{{.Host}}/delete/file_name"

- {{if index . "upload_only"}} + {{if .UploadOnly}}

NOTE: This is an upload only instance, if you wan't a file on the instance deleted ask the hoster to delete the file.