Skip to content

Commit

Permalink
BUILD: Second attempt to set up Netlify redirects for SPA.
Browse files Browse the repository at this point in the history
  • Loading branch information
epatters committed Sep 16, 2024
1 parent f0ae405 commit 462e4fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ jobs:
mv dev-docs site/dev
mv rust_docs site/dev/rust
mv frontend_docs site/dev/frontend
echo "/dev /dev/index.xml" > site/_redirects
echo '/dev /dev/index.xml' >> site/_redirects
echo '/* /index.html 200' >> site/_redirects
- name: Deploy to Staging
if: github.event_name == 'push' || github.event_name == 'pull_request'
Expand Down
5 changes: 0 additions & 5 deletions packages/frontend/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,3 @@ command = "rustup toolchain install stable && rustup target add wasm32-unknown-u

[build.environment]
RUST_VERSION = "1.81.0"

[[redirects]]
from = "/*"
to = "/index.html"
status = 200

0 comments on commit 462e4fa

Please sign in to comment.