Skip to content

fix(dev): quiet the /api proxy when the local bridge isn't running - #82

Merged
danielgorgonha merged 1 commit into
mainfrom
fix/quiet-dev-proxy
Aug 3, 2026
Merged

fix(dev): quiet the /api proxy when the local bridge isn't running#82
danielgorgonha merged 1 commit into
mainfrom
fix/quiet-dev-proxy

Conversation

@danielgorgonha

Copy link
Copy Markdown
Member

In tauri dev/npm run dev the local bridge (konclave serve) is optional; without it the app falls back to demo/mock, so ECONNREFUSED on /api/health is expected. Handle it in the Vite proxy: one clean log line + a 503, instead of the noisy AggregateError stack. No effect in production.

In dev/tauri dev the local bridge (konclave serve) is optional; without it the app falls back to
demo/mock, so ECONNREFUSED on /api/health is expected, not an error. Handle it in the Vite proxy:
log one line and answer 503 instead of the noisy AggregateError stack. No effect in production
(the bundle is served same-origin by the bridge).
@danielgorgonha
danielgorgonha merged commit f807dd2 into main Aug 3, 2026
7 checks passed
@vercel

vercel Bot commented Aug 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
konclave-demo Ready Ready Preview Aug 3, 2026 1:30am

Request Review

@danielgorgonha
danielgorgonha deleted the fix/quiet-dev-proxy branch August 3, 2026 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant