Skip to content

Commit

Permalink
update web netlify
Browse files Browse the repository at this point in the history
  • Loading branch information
StardustDL committed Feb 4, 2024
1 parent 91ba2a5 commit ecc7a31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,6 @@ jobs:
- name: Build
run: |
cd ./src/web && npm run build
- name: Set netlify redirects
run: |
echo -e "[[redirects]]\nfrom = \"/*\"\nto = \"/index.html\"\nstatus = 200\n" > ./src/web/dist/netlify.toml
- name: Upload results
uses: actions/upload-artifact@v4
with:
Expand Down
4 changes: 4 additions & 0 deletions src/web/public/netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[[redirects]]
from = "*"
to = "/index.html"
status = 200

0 comments on commit ecc7a31

Please sign in to comment.