Skip to content

Commit

Permalink
feat: handle 404 on gh pages PE-5161
Browse files Browse the repository at this point in the history
  • Loading branch information
fedellen committed Dec 8, 2023
1 parent c6bd0a4 commit c50121a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- name: Build
run: yarn build

- name: Copy index.html to 404.html
run: cp ./dist/index.html ./dist/404.html

- name: Deploy gh-pages if on prod
uses: JamesIves/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"type": "module",
"description": "ArDrive Turbo App",
"homepage": "https://ardriveapp.github.io/turbo-app",
"homepage": "./",
"license": "AGPL-3.0-or-later",
"author": {
"name": "Permanent Data Solutions Inc",
Expand Down

0 comments on commit c50121a

Please sign in to comment.