Fix updater

This commit is contained in:
LAX18 Development
2022-06-06 20:16:54 -04:00
parent 02d069cf76
commit 0964960e96
+1 -1
View File
@@ -67,7 +67,7 @@ def cputemp():
@app.route('/update',methods = ['GET'])
def update():
if request.method == 'GET':
output = os.popen("sudo git pull").read()
output = os.popen("cd /usr/share/dump1090-mutability/html && sudo git pull").read()
return str(output)
@app.route('/branch',methods = ['GET'])