feat: redirect /install.sh to matcha's installer #23
@@ -1,5 +1,8 @@
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
# curl -fsSL https://green-tea.expressive-tea.io/install.sh | sh -> matcha's installer.
|
||||
# 302, not 301: a cached permanent redirect could never be pointed elsewhere.
|
||||
RewriteRule ^install\.sh$ https://raw.githubusercontent.com/Expressive-Tea/matcha/main/install.sh [R=302,L]
|
||||
RewriteCond %{HTTPS} !=on
|
||||
RewriteRule ^ https://green-tea.expressive-tea.io%{REQUEST_URI} [R=301,L]
|
||||
</IfModule>
|
||||
|
||||
Reference in new issue
Block a user