UI rehaul + original download filenames

This commit is contained in:
Ludwig Lehnert
2026-01-29 06:57:54 +01:00
parent 6177166d82
commit 6eb42cd223
4 changed files with 295 additions and 72 deletions

View File

@@ -32,7 +32,13 @@ IndexOptions FancyIndexing FoldersFirst NameWidth=*\n\
# Force download for shared files
RUN printf '\n# --- Force download in _share ---\n\
<Directory "/usr/local/apache2/htdocs/_share">\n\
Header set Content-Disposition "attachment"\n\
# Header set Content-Disposition "attachment"\n\
# We want to let the application handle the download name if possible\n\
# or just serve it directly if accessed directly. \n\
# Actually, we should probably proxy requests for metadata resolution\n\
# But for now, let''s just keep it simple. \n\
# If we want Apache to serve it with original name, we need a map.\n\
# Since we moved logic to Node, Apache just serves raw files if needed.\n\
</Directory>\n' >> /usr/local/apache2/conf/httpd.conf
EXPOSE 80