From a182b6199b7f55eeb573dccd6ce7926c40043680 Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Wed, 30 Nov 2022 01:42:49 +0100 Subject: Allow management operations like deleting files This introduces the X-Token header field in the response of newly uploaded files as a simple way for users to manage their own files. It does not need to be particularly secure. --- templates/401.html | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 templates/401.html (limited to 'templates/401.html') diff --git a/templates/401.html b/templates/401.html new file mode 100644 index 0000000..672c7e4 --- /dev/null +++ b/templates/401.html @@ -0,0 +1,2 @@ +rm: cannot remove '{{ request.path.split("/")[1] }}': Permission denied + -- cgit v1.2.3