Compare commits

..

No commits in common. "3c0ecd8203ef0d9a295c3eb126827f3302ba874a" and "f82cd4aff2edb2ffe843916f0e12193dd90c3035" have entirely different histories.

View File

@ -8,6 +8,7 @@ import RPi.GPIO as GPIO
RELAY_1 = 26
GPIO.setwarnings(False)
GPIO.setmode(GPIO.BCM)
GPIO.setup(RELAY_1,GPIO.OUT)
@ -27,5 +28,5 @@ def reroute(state):
response = make_response(redirect(url_for('index')))
return response
#if __name__ == '__main__':
# app.run(debug=False, host='0.0.0.0', port=8000)
if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0', port=8000)