Skip to content

Commit

Permalink
fix: 404 if use html5 router in github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe authored and fgt1t5y committed Dec 2, 2023
1 parent 6662eed commit 6914b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Build docs
run: |
pnpm run build:demo
touch ./demo/dist/index.html
cp ./demo/dist/index.html ./demo/dist/404.html
- name: Deploy site
uses: JamesIves/github-pages-deploy-action@v4
Expand Down

0 comments on commit 6914b0d

Please sign in to comment.