From 277b5e01c9af9d78c24a25234924a6afc852cb43 Mon Sep 17 00:00:00 2001 From: Yanis Boucherk <60298855+ygboucherk@users.noreply.github.com> Date: Thu, 10 Dec 2020 12:01:47 +0100 Subject: [PATCH] Added automatic ip discovery Now we directly get the address API is listening on (uses ipify api) --- duco-http-api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/duco-http-api.py b/duco-http-api.py index be3e581..de90312 100644 --- a/duco-http-api.py +++ b/duco-http-api.py @@ -203,4 +203,4 @@ def version(): return "1.2" -app.run(host="localhost", port=api_port) +app.run(host=rpc_ip, port=api_port)