Skip to content

Commit

Permalink
Caddyfile redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
coffee-cup committed Feb 10, 2025
1 parent 0aad787 commit d94edf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 3 additions & 0 deletions docs/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
# enable gzipping responses
encode gzip

# redirect install.sh to the raw GitHub URL
redir /install.sh https://raw.githubusercontent.com/railwayapp/railpack/refs/heads/main/install.sh 301

# serve files from 'dist'
file_server

Expand Down
5 changes: 0 additions & 5 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ export default defineConfig({
defaultStrategy: "hover",
},

redirects: {
"/install.sh":
"https://raw.githubusercontent.com/railwayapp/railpack/refs/heads/main/install.sh",
},

integrations: [
starlight({
title: "Railpack Docs",
Expand Down

0 comments on commit d94edf6

Please sign in to comment.