Skip to content

Commit 6277ba9

Browse files
committed
chore: redirect /phar to latest phel phar release
1 parent c37a4f2 commit 6277ba9

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

content/phar.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
+++
2+
title = "Download Phel PHAR"
3+
template = "page.html"
4+
aliases = ["/phar"]
5+
+++
6+
7+
Redirecting to the latest Phel PHAR release...
8+
9+
<script>
10+
window.location.href = 'https://github.com/phel-lang/phel-lang/releases/latest/download/phel.phar';
11+
</script>

static/.htaccess

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
ErrorDocument 404 /404.html
1+
ErrorDocument 404 /404.html
2+
3+
# Redirect /phar to latest Phel release
4+
Redirect 301 /phar https://github.com/phel-lang/phel-lang/releases/latest/download/phel.phar

0 commit comments

Comments
 (0)