From 0a793f7d3fed115cdd242371490009db340deb00 Mon Sep 17 00:00:00 2001 From: Heinrich 'Henrik' Langos Date: Fri, 25 Nov 2022 02:48:06 +0000 Subject: feat: Make upload path selectable (#39) This works for me, but for a more public site, I think I'll also add a boolean attribute named "upload_allowed" and "writable" to Config.Library.. Something to allow you to configure which directories can receive new uploads, and which directories we consider writable for other purposes (like editing meta data in yml, creating new thumbnails, ...) Co-authored-by: Heinrich Langos Reviewed-on: https://git.mills.io/prologic/tube/pulls/39 Co-authored-by: Heinrich 'Henrik' Langos Co-committed-by: Heinrich 'Henrik' Langos --- templates/upload.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'templates') diff --git a/templates/upload.html b/templates/upload.html index 54c2ccd..e188de6 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -9,6 +9,11 @@ Click to browse or drop file here
+
-- cgit v1.2.3