From 97be54bb5d0ca21c6d168a3ce57a4cbb56fa484e Mon Sep 17 00:00:00 2001 From: kj_sh604 Date: Tue, 31 Mar 2026 18:35:10 -0400 Subject: refactor: add favicon --- src/app.py | 4 ++++ src/favicon.svg | 46 ++++++++++++++++++++++++++++++++++++++++++++++ src/templates/index.html | 1 + 3 files changed, 51 insertions(+) create mode 100644 src/favicon.svg (limited to 'src') diff --git a/src/app.py b/src/app.py index 486fc90..52484ef 100644 --- a/src/app.py +++ b/src/app.py @@ -649,6 +649,10 @@ def create_app(): def index(): return send_from_directory(str(TEMPLATES_DIR), "index.html") + @app.route("/favicon.svg") + def favicon(): + return send_from_directory(str(BASE_DIR), "favicon.svg") + @app.route("/convert", methods=["POST"]) def convert(): md = request.form.get("markdown", "").strip() diff --git a/src/favicon.svg b/src/favicon.svg new file mode 100644 index 0000000..bbd9382 --- /dev/null +++ b/src/favicon.svg @@ -0,0 +1,46 @@ + + + + + + pdf-document + + + + + + + + + pdf-document + + + + diff --git a/src/templates/index.html b/src/templates/index.html index 490bb82..194a2af 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -5,6 +5,7 @@ likha-pdf +