From 78d7f338509a5877daf224c282a739a39a473b84 Mon Sep 17 00:00:00 2001 From: Maximilien Cuony Date: Sun, 26 Jan 2014 18:46:53 +0100 Subject: [PATCH] Allow change of host --- client/config.py.dist | 1 + client/httpd.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/config.py.dist b/client/config.py.dist index ae105b0..3d18ee3 100644 --- a/client/config.py.dist +++ b/client/config.py.dist @@ -4,3 +4,4 @@ CONFIG_ID = '' KEY_REQUESTS = '' KEY_IPN = '' KEY_API = '' +HOST = '127.0.0.1' \ No newline at end of file diff --git a/client/httpd.py b/client/httpd.py index 76c1ce3..0095ae7 100644 --- a/client/httpd.py +++ b/client/httpd.py @@ -48,4 +48,4 @@ def ipn(): return '' if __name__ == "__main__": - app.run(debug=False) + app.run(debug=False, host=config.HOST)