summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/.htaccess3
1 files changed, 3 insertions, 0 deletions
diff --git a/static/.htaccess b/static/.htaccess
index 35bf5b25..39c7faba 100644
--- a/static/.htaccess
+++ b/static/.htaccess
@@ -41,6 +41,9 @@ Header set Cache-Control "public, max-age=31536000"
RedirectMatch 301 ^/security.txt$ /.well-known/security.txt
RedirectMatch 301 ^/graphene.png$ /logo.png
+# http://www.twipu.com/GrapheneOS doesn't handle links with fragments properly
+RedirectMatch 301 "^/releases<a href=$" /releases
+
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d