fix(api): share base-domain API host
Some checks failed
Architecture Governance / architecture (push) Has been cancelled

Tenant subdomains route through api.<base-domain>; nginx forwards the exact storefront host derived from the validated browser origin.
This commit is contained in:
2026-08-20 16:12:37 +04:00
parent e5949c3967
commit 9cd56586fb
15 changed files with 175 additions and 65 deletions

View File

@@ -5,7 +5,7 @@ export const environment = {
useMockBootstrapOnLocal: true,
fallbackTenantKey: 'default',
localhostApiUrl: '/api',
tenantApiTemplate: '{protocol}//api.{hostname}',
tenantApiTemplate: '{protocol}//api.{baseDomain}',
tenantApiBaseUrls: {},
brandName: 'Marketplace',
brandFullName: 'Marketplace',