bind api_host to 0.0.0.0

This commit is contained in:
Aaron Blankstein
2018-08-30 10:17:22 -05:00
parent 310c249a19
commit d79b7fa8a4

View File

@@ -19,6 +19,7 @@ if ! [ -f "$STATE_DIR/blockstack-server.db" ]; then
# no state yet
# TODO: remove arguments once in master
blockstack-core --debug fast_sync http://testnet.blockstack.org/snapshot.bsk 04874e5e95e9da7662de351c967c1edcaccf902536cbb0d4e00e6d22038034628700ae6b360c2cf10c3c834863c9c98f33e9bd07fc0c349e7c14f07f8b0e5a7421
sed -i -e 's/api_host = localhost/api_host = 0.0.0.0/' "$STATE_DIR/blockstack-server.ini"
fi
# start daemon and wait forever