Added remove from queue button

This commit is contained in:
RemixDev 2020-04-11 15:43:59 +02:00
parent 8785497a67
commit 7ba616e095

View file

@ -54,6 +54,10 @@ def search(data):
def addToQueue(data):
app.addToQueue_link(data['url'], socket=socketio)
@socketio.on('removeFromQueue')
def removeFromQueue(uuid):
app.removeFromQueue_link(uuid, socket=socketio)
# Example code leftover, could be usefull later on
@server.route('/choose/path', methods=['POST'])
def choose_path():