diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2019-06-28 01:55:58 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2019-06-28 01:56:18 -0400 |
| commit | 720dbf8970b12d126b4a58f6140574cc0d4402e8 (patch) | |
| tree | 160537a00c121a99682bfb1e134751b5bfeaa29b /static | |
| parent | 87fb7e1e69d50ff0125eb43ffa4d63b0e33dc559 (diff) | |
redirect release links from broken site
Diffstat (limited to 'static')
| -rw-r--r-- | static/.htaccess | 3 |
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 |
