localhost by default
This commit is contained in:
1 parent
95c65836c5
commit
4c3616ffbc
1 file changed
+2
-2
@@ -156,7 +156,7 @@ api.add_resource(Release, '/release/<int:numeroSolicitacao>')
|
||||
if __name__ == '__main__':
|
||||
if getenv("DEBUG"):
|
||||
disable_warnings()
|
||||
app.run(host='::',debug=True)
|
||||
app.run(host='::1',debug=True)
|
||||
else:
|
||||
from waitress import serve
|
||||
serve(app, host=getenv("HOST","::"), port=getenv("PORT",5000))
|
||||
serve(app, host=getenv("HOST","::1"), port=getenv("PORT",5000))
|
||||
Reference in new issue
Block a user