Use internal K8s URL for API routing to fix avatar upload for non-KamoCRM orgs

Fixkamo-internal
Shipped
March 28, 2026 at 6:40 PM UTC
Author
kamo
Commit
f00edd9

The API proxy was computing external URLs (https://api.{domain}) for every org, which only resolved for KamoCRM. Now uses API_SERVICE_URL env var for direct internal routing. Also preserves upstream X-Forwarded-Host in APIService and propagates actual backend errors instead of generic messages.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing