mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-11 05:33:57 +00:00
Merge remote-tracking branch 'public_reconnect/master'
This commit is contained in:
commit
c8c2d6659c
@ -781,6 +781,12 @@ def get_tasks_status():
|
||||
|
||||
# ################################### Search functions ################################################################
|
||||
|
||||
@app.route("/reconnect")
|
||||
def reconnect():
|
||||
db.session.close()
|
||||
db.engine.dispose()
|
||||
db.setup_db()
|
||||
return json.dumps({})
|
||||
|
||||
@web.route("/search", methods=["GET"])
|
||||
@login_required_if_no_ano
|
||||
|
Loading…
Reference in New Issue
Block a user