Explicitly add default host & port to app.run function

I decidedto add this because the way to change the host & port may not be
immediately obvious to everyone.
This commit is contained in:
kytv
2013-09-08 02:17:32 +00:00
parent c4761fbeaa
commit f49d126a78

View File

@ -1,3 +1,5 @@
#!env/bin/python #!env/bin/python
from i2p2www import app from i2p2www import app
app.run(debug=False)
if __name__ == '__main__':
app.run(host='127.0.0.1', port=5000, debug=False)