Add axios support for esplora unix sockets

This commit is contained in:
Mononaut
2023-03-09 03:36:14 -06:00
committed by wiz
parent 4c9216f3c2
commit b6fe0e0f33
8 changed files with 19 additions and 7 deletions

View File

@@ -36,6 +36,7 @@ interface IConfig {
};
ESPLORA: {
REST_API_URL: string;
UNIX_SOCKET_PATH: string | void | null;
};
LIGHTNING: {
ENABLED: boolean;
@@ -158,6 +159,7 @@ const defaults: IConfig = {
},
'ESPLORA': {
'REST_API_URL': 'http://127.0.0.1:3000',
'UNIX_SOCKET_PATH': null,
},
'ELECTRUM': {
'HOST': '127.0.0.1',