Commit 5a16910
Fix: Set correct base path for /development/ deployment
The /development/ deployment was returning 404 because the site was built
with root paths instead of /development/ paths.
Changes:
- Update vite.config.js to use VITE_BASE_PATH environment variable
- Set VITE_BASE_PATH in GitHub Actions based on branch:
- develop branch: '/development/'
- main branch: '/'
- This ensures all asset paths are correct for subdirectory deployment
Fixes the page not found error on www.unityailab.com/development/
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 9074e74 commit 5a16910
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
| 58 | + | |
| 59 | + | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments