Skip to content

Commit

Permalink
Added automatic ip discovery
Browse files Browse the repository at this point in the history
Now we directly get the address API is listening on (uses ipify api)
  • Loading branch information
ygboucherk authored Dec 10, 2020
1 parent ad98e6d commit 277b5e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion duco-http-api.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,4 @@ def version():
return "1.2"


app.run(host="localhost", port=api_port)
app.run(host=rpc_ip, port=api_port)

0 comments on commit 277b5e0

Please # to comment.