You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Tauri .exe production build — all features working
The released .exe was completely broken because features only existed
in Vite middleware but had no Tauri Rust equivalents.
Rust backend:
- Add fetch_external command: HTTP proxy for CivitAI API, workflow JSON
- Add fetch_external_bytes command: binary proxy for ZIP/image downloads
- Register both in main.rs invoke_handler
Frontend routing:
- Add fetchExternal() and fetchExternalBytes() in backend.ts that route
to Tauri invoke() in production or Vite proxy in dev mode
- Fix workflows.ts: CivitAI search uses fetchExternal() instead of
/civitai-api/ relative URL
- Fix discover.ts: CivitAI model search uses fetchExternal()
- Fix workflows.ts: fetchWorkflowFromUrl uses fetchExternalBytes()
instead of /local-api/proxy-download relative URL
Security:
- Update CSP in tauri.conf.json: allow civitai.com, huggingface.co,
ollama.com for connect-src and img-src
UX:
- Default view changed from Chat to Model Manager — new users need
models before they can do anything
- Privacy proxy: Tauri mode loads images directly (CSP allows), dev
mode continues using local proxy
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments