Sfoglia il codice sorgente

Switch out of debug mode and listen on all interfaces

Peter Oertel 2 anni fa
parent
commit
b4ab2cb287
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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")