diff --git a/app.py b/app.py index 3950ec2..1f396f8 100644 --- a/app.py +++ b/app.py @@ -11,6 +11,9 @@ DEBUG = 0 """ To-do: Styles +Bible Reading Plan +Bible Viewer +fix Multiple Reference resolving /show """ def dbg(message): @@ -189,7 +192,9 @@ def return_dict_rich(ref, defs): @app.get("/show") def show(): - ref = request.args.get("kw", "John 3:16") + ref = request.args.get("kw", None) + if ref is None: + return send_file("html/show.html") dbg("show({})".format(ref)) ref = ref_input_cleaning(ref) if not ref: diff --git a/html/dictionary.html b/html/dictionary.html index 2a49758..6323ec6 100644 --- a/html/dictionary.html +++ b/html/dictionary.html @@ -4,7 +4,7 @@