remove unused endpoint
This commit is contained in:
parent
0ad56b7457
commit
c9c15f4d33
1 changed files with 0 additions and 4 deletions
|
@ -122,10 +122,6 @@ def api(last_received):
|
|||
else:
|
||||
return jsonify({"server_id": server_id, "newest_msg": shared_data.last_message_index, "messages": list(shared_data.messages)[len(shared_data.messages) - (shared_data.last_message_index - last_received):]})
|
||||
|
||||
@app.route('/max_messages.json')
|
||||
def get_max_messages():
|
||||
return jsonify([max_message_cache])
|
||||
|
||||
if __name__ == '__main__':
|
||||
thread = Thread(target=serial_reader, args=(shared_data, ))
|
||||
thread.start()
|
||||
|
|
Loading…
Reference in a new issue