mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-11 05:33:57 +00:00
Merge remote-tracking branch 'fix/kobo' into Develop
# Conflicts: # cps/db.py # cps/web.py
This commit is contained in:
commit
2798dd5916
@ -810,9 +810,7 @@ def get_tasks_status():
|
|||||||
|
|
||||||
@app.route("/reconnect")
|
@app.route("/reconnect")
|
||||||
def reconnect():
|
def reconnect():
|
||||||
db.session.close()
|
db.reconnect_db(config)
|
||||||
db.engine.dispose()
|
|
||||||
db.setup_db(config)
|
|
||||||
return json.dumps({})
|
return json.dumps({})
|
||||||
|
|
||||||
@web.route("/search", methods=["GET"])
|
@web.route("/search", methods=["GET"])
|
||||||
|
Loading…
Reference in New Issue
Block a user