Skip to content

Commit

Permalink
adjustments to base url
Browse files Browse the repository at this point in the history
  • Loading branch information
pranabdas committed Oct 16, 2024
1 parent b98adcd commit 280c64b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: npm install

- name: Build website
run: npm run build
run: npm run build -- --base=/${{ github.event.repository.name }}/

- name: Deploy on gh-pages
uses: peaceiris/actions-gh-pages@v4
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import react from "@vitejs/plugin-react-swc";

// https://vitejs.dev/config/
export default defineConfig({
base: "/sg-tax-calculator/",
base: "/",
plugins: [react()],
server: {
port: 3000,
Expand Down

0 comments on commit 280c64b

Please sign in to comment.