Sprint 9: add tenant-driven API resolution layer
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
// Marketplace Production Configuration
|
||||
export const environment = {
|
||||
production: true,
|
||||
fallbackTenantKey: 'default',
|
||||
localhostApiUrl: 'https://api.dexarmarket.ru:445',
|
||||
tenantApiTemplate: 'https://{tenant}.api.dexarmarket.ru:445',
|
||||
tenantApiBaseUrls: {
|
||||
default: 'https://api.dexarmarket.ru:445',
|
||||
dexarmarket: 'https://api.dexarmarket.ru:445'
|
||||
},
|
||||
brandName: 'Marketplace',
|
||||
brandFullName: 'Marketplace',
|
||||
theme: 'dexar',
|
||||
|
||||
@@ -2,6 +2,13 @@
|
||||
export const environment = {
|
||||
production: false,
|
||||
useMockData: false, // Toggle to test with backOffice mock data
|
||||
fallbackTenantKey: 'default',
|
||||
localhostApiUrl: 'https://api.dexarmarket.ru:445',
|
||||
tenantApiTemplate: 'https://{tenant}.api.dexarmarket.ru:445',
|
||||
tenantApiBaseUrls: {
|
||||
default: 'https://api.dexarmarket.ru:445',
|
||||
dexarmarket: 'https://api.dexarmarket.ru:445'
|
||||
},
|
||||
brandName: 'Marketplace',
|
||||
brandFullName: 'Marketplace',
|
||||
theme: 'dexar',
|
||||
|
||||
Reference in New Issue
Block a user