KamoCRM

Allow /domain/ path prefix on theme IngressRoute for CORS

FixKlusterServices
Shipped
April 25, 2026 at 10:39 PM UTC
Author
Kamo
Commit
8e4dee4

The theme config at theme.kamocrm.com/domain/... was not matched by the existing route rules (only /public/ and /internal/ were allowed), so Traefik returned a 503 with no CORS headers, causing the browser to reject the fetch. Added PathPrefix('/domain/') to both HTTP and HTTPS IngressRoute rules so the cors middleware is applied and the theme config can be fetched.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing