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
This commit is contained in:
Ramy Asselin 2015-09-21 14:41:23 -07:00 committed by Mikhail S Medvedev
parent 0e03bec4b1
commit bde64a6a1f
2 changed files with 2 additions and 2 deletions

View File

@ -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__':

2
run.py
View File

@ -15,4 +15,4 @@
import ciwatch
if __name__ == "__main__":
ciwatch.app.run(debug=True)
ciwatch.app.run(debug=True, host='0.0.0.0')