managarten/packages/shared-api-client/src
Till JS 67326b738a fix(shared-api-client): add useRuntimeUrl flag for cross-app clients
getBaseUrl() always overrides baseUrl with window.__PUBLIC_BACKEND_URL__,
which breaks cross-app API clients (e.g. calendar→todo, calendar→contacts)
by routing all requests to the host app's backend.

Added useRuntimeUrl: false option to skip the runtime override when
the client already resolves its own base URL.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 17:11:31 +01:00
..
client.ts fix(shared-api-client): add useRuntimeUrl flag for cross-app clients 2026-03-20 17:11:31 +01:00
index.ts feat: add @manacore/shared-api-client package 2026-01-29 14:19:55 +01:00
types.ts fix(shared-api-client): add useRuntimeUrl flag for cross-app clients 2026-03-20 17:11:31 +01:00
utils.ts ♻️ refactor: remove duplicated code (Quick Wins) 2026-01-29 16:19:18 +01:00