Skip to content

Commit 670e1f7

Browse files
committed
Enable SPA behavior on github pages.
1 parent 60eda00 commit 670e1f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/esbuild.yml

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
run: npm ci
3636
- name: Build with esbuild
3737
run: npm run build
38+
- name: Enable SPA behavior
39+
run: cp dist/index.html dist/404.html
3840
- name: Setup Pages
3941
uses: actions/configure-pages@v3
4042
- name: Upload artifact

0 commit comments

Comments
 (0)