Skip to content

Commit 3eba354

Browse files
authoredApr 18, 2023
vite build: --base=/2248-web/
vite loads files from / instead of a relative path... Need to set base path, see https://vitejs.dev/guide/build.html#public-base-path
1 parent 2a14b02 commit 3eba354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
node-version: "18"
3939
cache: 'npm'
4040
- run: npm ci
41-
- run: npm run build --if-present
41+
- run: npm run build -- --base=/2248-web/
4242
- name: Setup Pages
4343
uses: actions/configure-pages@v3
4444
- name: Upload artifact

0 commit comments

Comments
 (0)
Please sign in to comment.