Added public /reconnect endpoint

pull/934/head
yjouanique 6 years ago
parent f736a15c12
commit c4e3f3670f

@ -1884,6 +1884,12 @@ def shutdown():
return json.dumps({})
abort(404)
@app.route("/reconnect")
def reconnect():
db.session.close()
db.engine.dispose()
db.setup_db()
return json.dumps({})
@app.route("/search", methods=["GET"])
@login_required_if_no_ano

Loading…
Cancel
Save