Skip to content

Commit 656d42c

Browse files
Harshith ReddyHarshith Reddy
authored andcommitted
Implement proper base path
1 parent 1869581 commit 656d42c

9 files changed

Lines changed: 25 additions & 25 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
run: npm ci
2727
- name: Build
2828
working-directory: portfolio-react
29-
run: npm run build
30-
- name: SPA fallback (optional)
29+
run: npm run build -- --base=/My-Web/
30+
- name: SPA fallback
3131
run: cp portfolio-react/dist/index.html portfolio-react/dist/404.html
3232
- name: Upload artifact
3333
uses: actions/upload-pages-artifact@v3

portfolio-react/dist/assets/index-C5nSzFO5.js renamed to portfolio-react/dist/assets/index-CG6DQMcV.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

portfolio-react/dist/assets/index-C5nSzFO5.js.map renamed to portfolio-react/dist/assets/index-CG6DQMcV.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)