This commit is contained in:
2022-02-20 23:11:36 -05:00
parent 5071bb3243
commit 9e0d86960f
+2 -2
View File
@@ -13,9 +13,9 @@ def brightness():
status = os.popen('sudo cat /sys/class/backlight/rpi_backlight/brightness').read()
return status
@app.route('/connection',methods = ['POST'])
@app.route('/connection',methods = ['GET'])
def connection():
if request.method == 'POST':
if request.method == 'GET':
return "OK"
@app.route('/audio',methods = ['POST'])