weird new flask assertion error forbidding endpoint declaration decorators
This commit is contained in:
@@ -751,11 +751,6 @@ def make_view(response_list=[]):
|
|||||||
else:
|
else:
|
||||||
response = jsonify(response_list)
|
response = jsonify(response_list)
|
||||||
|
|
||||||
|
|
||||||
@app.get("/fe")
|
|
||||||
def frontend():
|
|
||||||
return send_file('kjv_fe.html')
|
|
||||||
|
|
||||||
@app.get("/search") # user-facing keyword search. To be moved to backend, possibly replaced with semantic search.
|
@app.get("/search") # user-facing keyword search. To be moved to backend, possibly replaced with semantic search.
|
||||||
def search():
|
def search():
|
||||||
keywords = request.args.get("kw", None)
|
keywords = request.args.get("kw", None)
|
||||||
|
|||||||
Reference in New Issue
Block a user