Skip to content

Commit

Permalink
chore: try add a netlify proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
neilcampbell committed Jun 11, 2024
1 parent aebe3c2 commit 4b1eb65
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,17 @@ jobs:
- name: Handle Netlify redirect
run: |
echo "/* /index.html 200" > artifacts/website/_redirects
echo "[[redirects]]
from = \"/algod/*\"
to = \"http://localhost:4001/:splat\"
status = 200
force = true
headers = {X-Algo-Api-Token = \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"}
[[redirects]]
from = \"/*\"
to = \"/index.html\"
status = 200" > artifacts/website/netlify.toml
- name: Deploy website to Netlify
run: |
Expand Down

0 comments on commit 4b1eb65

Please sign in to comment.