Skip to content

Commit

Permalink
fix(ui): Fix base url to download assets, #6
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed Aug 7, 2023
1 parent ac9f764 commit a8583b6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
run: npm run build -- --base=/works-finder/
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
Expand Down
1 change: 0 additions & 1 deletion client/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { defineConfig } from 'vite';

// https://vitejs.dev/config/
export default defineConfig({
base: '/works-finder/',
build: {
emptyOutDir: true,
outDir: '../server/dist',
Expand Down
1 change: 0 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { defineConfig } from 'vite';

// https://vitejs.dev/config/
export default defineConfig({
base: '/works-finder/',
build: {
emptyOutDir: true,
outDir: '../dist'
Expand Down

0 comments on commit a8583b6

Please sign in to comment.