change app.py to track
This commit is contained in:
parent
533d65cfff
commit
6954a2a382
2
app.py
2
app.py
|
@ -203,7 +203,7 @@ def refresh_data():
|
||||||
# Start the thread to refresh the data
|
# Start the thread to refresh the data
|
||||||
Thread(target=refresh_data).start()
|
Thread(target=refresh_data).start()
|
||||||
|
|
||||||
# Return the latest data
|
# Return All Data in the current month
|
||||||
@app.route("/get_data", methods=["GET"])
|
@app.route("/get_data", methods=["GET"])
|
||||||
def get_data_route():
|
def get_data_route():
|
||||||
global last_indoor_data
|
global last_indoor_data
|
||||||
|
|
Loading…
Reference in New Issue