Skip to content

Commit

Permalink
Fix SPA on GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ILIYANGERMANOV committed Nov 27, 2024
1 parent 99dbc5c commit 53dafce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy_web_github_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ jobs:
- name: Build Web distribution
run: ./gradlew :composeApp:jsBrowserDistribution


- name: Copy index.html to 404.html
run: cp composeApp/build/dist/js/productionExecutable/index.html composeApp/build/dist/js/productionExecutable/404.html

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit 53dafce

Please sign in to comment.