Fix up names in index.html

This commit is contained in:
CronyAkatsuki 2023-12-20 17:37:15 +01:00
parent 0178de7a14
commit 2c70e467bc

View File

@ -19,15 +19,15 @@
<p>
To upload files use curl:
<code>curl -F "file=@/path/to/file" "{{index . "host"}}"</code>
<code>curl -F "file=@/path/to/file" "{{.Host}}"</code>
</p>
<p>
To delete a file using curl:
<code>curl "{{index . "host"}}/delete/file_name"</code>
<code>curl "{{.Host}}/delete/file_name"</code>
</p>
{{if index . "upload_only"}}
{{if .UploadOnly}}
<p>
NOTE: This is an upload only instance, if you wan't a file on the instance
deleted ask the hoster to delete the file.