mirror of
https://git.0x0.st/mia/0x0.git
synced 2026-01-15 14:51:44 +03:00
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.
This commit is contained in:
2
templates/401.html
Normal file
2
templates/401.html
Normal file
@@ -0,0 +1,2 @@
|
||||
rm: cannot remove '{{ request.path.split("/")[1] }}': Permission denied
|
||||
|
||||
Reference in New Issue
Block a user