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

@@ -199,7 +199,8 @@ Corresponding `docker-compose.yml` overrides:
`mempool-config.json`:
```json
"ESPLORA": {
"REST_API_URL": "http://127.0.0.1:3000"
"REST_API_URL": "http://127.0.0.1:3000",
"UNIX_SOCKET_PATH": "/tmp/esplora-socket"
},
```
@@ -208,6 +209,7 @@ Corresponding `docker-compose.yml` overrides:
api:
environment:
ESPLORA_REST_API_URL: ""
ESPLORA_UNIX_SOCKET_PATH: ""
...
```