From dcbec95339b51f0457e09e8afac4800ef5520739 Mon Sep 17 00:00:00 2001 From: "p.loedige" Date: Sun, 27 Dec 2020 00:33:30 +0100 Subject: [PATCH] flask now starts on port 8080 and can be accessed by all devices --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 04a1c0c..08606c5 100644 --- a/app.py +++ b/app.py @@ -26,4 +26,4 @@ def api_leds_control(color): return {color: GPIO.input(LEDS[color])} if __name__ == "__main__": - app.run() + app.run(port=8080,host="0.0.0.0")