fix(api): derive host from storefront domain
Some checks failed
Architecture Governance / architecture (push) Has been cancelled
Some checks failed
Architecture Governance / architecture (push) Has been cancelled
Every storefront, including nested subdomains, uses its matching api.<hostname> endpoint.
This commit is contained in:
@@ -5,7 +5,7 @@ export const environment = {
|
||||
useMockBootstrapOnLocal: true,
|
||||
fallbackTenantKey: 'default',
|
||||
localhostApiUrl: '/api',
|
||||
tenantApiTemplate: '{origin}/backend',
|
||||
tenantApiTemplate: '{protocol}//api.{hostname}',
|
||||
tenantApiBaseUrls: {},
|
||||
brandName: 'Marketplace',
|
||||
brandFullName: 'Marketplace',
|
||||
|
||||
Reference in New Issue
Block a user