Merge pull request 'feat: redirect /install.sh to matcha's installer' (#23) from feat/install-sh-redirect into main
This commit was merged in pull request #23.
This commit is contained in:
commit
37713a3405
1 file changed
+3
@@ -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