commit 02531091a03c4379f745cd2c94441a72a4a50834
parent d42edaa161801372284ea102799b3999458fa977
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Mon, 5 Aug 2024 11:07:50 +0200
fix: treat shasums as text files
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/htaccess b/htaccess
@@ -18,6 +18,9 @@ RedirectMatch 404 ^/htaccess$
# Style filebrowser
IndexStyleSheet /assets/index.css
+# FileTypes: Treat .sha256 as text file
+AddType text/plain .sha256
+
# Workaround: new directory for private repos
RewriteEngine On
RewriteRule ^priv(.*)$ /prv$1 [R=301,L]