Updated Server Side Tools

This commit is contained in:
LAX18 Development
2021-01-06 14:36:21 -05:00
parent 90dc54a5a5
commit 2c07dad30d
10 changed files with 296549 additions and 142322 deletions
+2 -2
View File
@@ -30,8 +30,8 @@ def volume():
def command():
if request.method == 'POST':
json = request.get_json()
output = os.popen("cd /usr/share/dump1090-mutability/html && "+json['command']).read()
#output = os.popen(json['command']).read()
#output = os.popen("cd /usr/share/dump1090-mutability/html && "+json['command']).read()
output = os.popen(json['command']).read()
return str(output)