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"
NOTE: This is an upload only instance, if you wan't a file on the instance deleted ask the hoster to delete the file.