call services api directly, make endpoint configurable

This commit is contained in:
Mononaut
2024-07-09 12:16:01 +00:00
parent 65046c4cb8
commit 614432426a
4 changed files with 25 additions and 23 deletions

View File

@@ -75,6 +75,7 @@ export interface Env {
ADDITIONAL_CURRENCIES: boolean;
GIT_COMMIT_HASH_MEMPOOL_SPACE?: string;
PACKAGE_JSON_VERSION_MEMPOOL_SPACE?: string;
SERVICES_API?: string;
customize?: Customization;
}
@@ -109,6 +110,7 @@ const defaultEnv: Env = {
'ACCELERATOR': false,
'PUBLIC_ACCELERATIONS': false,
'ADDITIONAL_CURRENCIES': false,
'SERVICES_API': 'https://mempool.space/api/v1/services',
};
@Injectable({