Apply Wiz suggestions

Co-authored-by: wiz <j@wiz.biz>
This commit is contained in:
Bastien Guillaumatandwiz authored and GitHub committed 2021-02-02 16:34:21 +01:00
1 parent bf7d58cd44
commit bca00e81b1
4 files changed
+39 -33

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
#!/bin/sh
API_IP=$API_IP
__MEMPOOL_BACKEND_MAINNET_HTTP_HOST__=${BACKEND_MAINNET_HTTP_HOST}
sed -i "s/<API_IP>/${API_IP}/g" /etc/nginx/conf.d/nginx-mempool.conf
sed -i "s/__MEMPOOL_BACKEND_MAINNET_HTTP_HOST__/${__MEMPOOL_BACKEND_MAINNET_HTTP_HOST__}/g" /etc/nginx/conf.d/nginx-mempool.conf
exec "$@"