Commit 1f53a2e
fix: set base path to relative for Electron file:// protocol compatibility
Added base: './' to vite config to generate relative asset paths instead
of absolute paths. This fixes ERR_FILE_NOT_FOUND errors when loading
JavaScript and CSS bundles in Electron apps using file:// protocol.
Fixes white screen issue where React app wasn't loading due to 404s on
all asset files (index.js, vendor chunks, CSS, registerSW.js).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 8722573 commit 1f53a2e
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
0 commit comments