From bde64a6a1f0cfdf4b4ddee0f44721be12f9c87a8 Mon Sep 17 00:00:00 2001 From: Ramy Asselin Date: Mon, 21 Sep 2015 14:41:23 -0700 Subject: [PATCH] Allow external access by default You can disable access to port 5000 via firewall. So let the default flask setting work outside of localhost. Original Change-Id: I67b79873c6dfca052becba618f693b754855944d Change-Id: I392faf8f650353f7a4c1e6df177c4090d77c3b92 --- ciwatch/__init__.py | 2 +- run.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ciwatch/__init__.py b/ciwatch/__init__.py index edecfb3..58ac9fb 100644 --- a/ciwatch/__init__.py +++ b/ciwatch/__init__.py @@ -24,7 +24,7 @@ __version__ = "0.0.1" def main(): - app.run(debug=True) + app.run(debug=True, host='0.0.0.0') if __name__ == '__main__': diff --git a/run.py b/run.py index f00d35d..de80b25 100644 --- a/run.py +++ b/run.py @@ -15,4 +15,4 @@ import ciwatch if __name__ == "__main__": - ciwatch.app.run(debug=True) + ciwatch.app.run(debug=True, host='0.0.0.0')