Skip to content

Commit

Permalink
Update node-deploy.yml
Browse files Browse the repository at this point in the history
Copy the index.html to a 404.html file so the app can be opened from non-Root pages. This is a workaround for SPAs hosten on github pages
  • Loading branch information
TIL-EBP authored Oct 14, 2024
1 parent 38433c1 commit 0db7cd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/node-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
run: |
npm ci
npm run build-dev-ebp
cp ./dist/browser/index.html ./dist/browser/404.html
- name: Create CNAME file for custom domain
run: echo 'dev.geo.zh.ch' > ./dist/browser/CNAME
Expand Down

0 comments on commit 0db7cd9

Please sign in to comment.