1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-25 17:40:31 +00:00

Merge remote-tracking branch 'public_reconnect/master'

This commit is contained in:
Ozzieisaacs 2019-10-20 15:03:02 +02:00
commit c8c2d6659c

View File

@ -781,6 +781,12 @@ def get_tasks_status():
# ################################### Search functions ################################################################ # ################################### Search functions ################################################################
@app.route("/reconnect")
def reconnect():
db.session.close()
db.engine.dispose()
db.setup_db()
return json.dumps({})
@web.route("/search", methods=["GET"]) @web.route("/search", methods=["GET"])
@login_required_if_no_ano @login_required_if_no_ano