fix(api): route tenants through origin gateway
Some checks failed
Architecture Governance / architecture (push) Has been cancelled

This commit is contained in:
2026-08-20 14:23:12 +04:00
parent bbf12cad33
commit f4ea4c7af8
18 changed files with 241 additions and 69 deletions

View File

@@ -3,18 +3,13 @@ export const environment = {
production: true,
useMockBootstrapOnLocal: false,
fallbackTenantKey: 'default',
allowBootstrapApiOverride: false,
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'
},
localhostApiUrl: '/api',
tenantApiTemplate: '{origin}/backend',
tenantApiBaseUrls: {},
brandName: 'Marketplace',
brandFullName: 'Marketplace',
theme: 'dexar',
apiUrl: 'https://api.dexarmarket.ru:445',
authApiUrl: 'https://api.dexarmarket.ru:445',
apiUrl: '/api',
qrApiUrl: 'https://qr.vitanova.network/api',
logo: '/icons/icon-192x192.png',
contactEmail: 'info@dexarmarket.ru',

View File

@@ -4,18 +4,13 @@ export const environment = {
useMockData: false, // Toggle to test with backOffice mock data
useMockBootstrapOnLocal: true,
fallbackTenantKey: 'default',
allowBootstrapApiOverride: false,
localhostApiUrl: '/api',
tenantApiTemplate: 'https://{tenant}.api.dexarmarket.ru:445',
tenantApiBaseUrls: {
default: 'https://api.dexarmarket.ru:445',
dexarmarket: 'https://api.dexarmarket.ru:445'
},
tenantApiTemplate: '{origin}/backend',
tenantApiBaseUrls: {},
brandName: 'Marketplace',
brandFullName: 'Marketplace',
theme: 'dexar',
apiUrl: '/api',
authApiUrl: 'https://api.dexarmarket.ru:445',
qrApiUrl: 'https://qr.vitanova.network/api',
logo: '/icons/icon-192x192.png',
contactEmail: 'info@dexarmarket.ru',