@@ -11,6 +11,7 @@ const defaults = {
|
||||
SG_API_FALLBACK_ORIGIN: 'https://sparkguardian.ru',
|
||||
SG_API_BASE_PATH: '/api/v1',
|
||||
SG_INTERACTIVE_PREROLL_MS: '4000',
|
||||
SG_DEFAULT_PAGE_LIMIT: '10',
|
||||
};
|
||||
|
||||
function val(key) {
|
||||
@@ -35,6 +36,7 @@ export const environment = {
|
||||
apiFallbackOrigin: ${JSON.stringify(val('SG_API_FALLBACK_ORIGIN'))},
|
||||
apiBasePath: ${JSON.stringify(val('SG_API_BASE_PATH'))},
|
||||
interactivePrerollMs: ${JSON.stringify(intVal('SG_INTERACTIVE_PREROLL_MS'))},
|
||||
defaultPageLimit: ${JSON.stringify(intVal('SG_DEFAULT_PAGE_LIMIT'))},
|
||||
} as const;
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user