Explorar o código

Switch out of debug mode and listen on all interfaces

Peter Oertel %!s(int64=2) %!d(string=hai) anos
pai
achega
b4ab2cb287
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      flaskapp.py

+ 1 - 1
flaskapp.py

@@ -46,4 +46,4 @@ def home():
 
 
 if __name__ == "__main__":
-    app.run(debug=True)
+    app.run(host="0.0.0.0")