In packaged Electron builds, @multica/core is externalized and .env files are excluded. Bridge import.meta.env.MAIN_VITE_API_URL (injected at build time by electron-vite) to process.env.MULTICA_API_URL so that getApiBaseUrl() reads the correct value in staging/test environments. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| main | ||
| preload | ||
| renderer | ||