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:
commit
c8c2d6659c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user