a single page app and want history pushstate to work so you get clean URLs (#9)
This commit is contained in:
parent
99eae108c7
commit
9064063529
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -15,7 +15,9 @@ jobs:
|
|||
- name: Installing Nix
|
||||
uses: cachix/install-nix-action@v8
|
||||
- name: Building search.nixos.org
|
||||
run: nix-shell --run "yarn prod"
|
||||
run: |
|
||||
nix-shell --run "yarn prod"
|
||||
cp netlify.toml ./dist/
|
||||
- name: Deploy to Netlify
|
||||
uses: nwtgck/actions-netlify@v1.0.5
|
||||
env:
|
||||
|
|
4
netlify.toml
Normal file
4
netlify.toml
Normal file
|
@ -0,0 +1,4 @@
|
|||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
Loading…
Reference in a new issue