feat: redirect /install.sh to matcha's installer #23

Merged
chrnx merged 1 commits from feat/install-sh-redirect into main 2026-11-19 19:07:50 +00:00
+3
View File
@@ -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>