Corrections.

This commit is contained in:
CronyAkatsuki 2023-03-26 12:27:02 +02:00
parent bce9c11e5f
commit 870cb5e08b
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# UpFast # UpFast
simple tool to for uploading and sharing files that is selfhostable. simple tool for uploading and sharing files that is selfhostable.
## How to host ## How to host
@ -34,7 +34,7 @@ To run the docker container check the container id with `docker images` command.
sudo docker run -p 8000:8000 -v ./upload:/usr/src/app/upload CONTAINER_ID sudo docker run -p 8000:8000 -v ./upload:/usr/src/app/upload CONTAINER_ID
``` ```
The sample command will need a upload directory to where you run it from so you can replace `./upload` with a different path to save uploaded stuff. The sample command will need an upload directory, you can replace `./upload` with a different path to save uploaded stuff.
### Nginx Proxy setup ### Nginx Proxy setup

View File

@ -21,8 +21,8 @@
<pre>{{ file.content }}</pre> <pre>{{ file.content }}</pre>
{% endif %} {% endif %}
<div class="info"> <div class="info">
<a href="/files/{{ file.name }}" download>{{ file.name }}</a></td> <a href="/files/{{ file.name }}" download>{{ file.name }}</a>
<a href="/delete/{{ file.name }}">delete!</a></td> <a href="/delete/{{ file.name }}">delete!</a>
</div> </div>
</div> </div>
{% endfor %} {% endfor %}

View File

@ -16,7 +16,7 @@
<p>To delete a file using curl: <code>curl "{{ request.url }}delete/file_name"</code></p> <p>To delete a file using curl: <code>curl "{{ request.url }}delete/file_name"</code></p>
<p>To get of all files hosten on the instance check <a href="/files">files</a></p> <p>To get of all files hosted on the instance check <a href="/files">files</a></p>
<p>Created and maintained by <a href="https://cronyakatsuki.xyz">Crony Akatsuki</a></p> <p>Created and maintained by <a href="https://cronyakatsuki.xyz">Crony Akatsuki</a></p>