aboutsummaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authordiogo464 <[email protected]>2025-05-28 20:52:27 +0100
committerdiogo464 <[email protected]>2025-05-28 20:52:27 +0100
commitacd28a9a689998b5b66f0364d4a434b3e0fdff3d (patch)
tree34721d085150f0a769b343e7a9ad3f36d9a04f42 /app.py
parent76a67395e6c67a2d730e7027e41a5e056c4c0256 (diff)
added favicon
Diffstat (limited to 'app.py')
-rw-r--r--app.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/app.py b/app.py
index 002957a..121fc10 100644
--- a/app.py
+++ b/app.py
@@ -28,6 +28,12 @@ def script():
28 return send_from_directory(".", "script.js") 28 return send_from_directory(".", "script.js")
29 29
30 30
31@app.route("/favicon.ico")
32def favicon():
33 """Serve the favicon."""
34 return send_from_directory(".", "favicon.ico")
35
36
31@app.route("/", methods=["POST"]) 37@app.route("/", methods=["POST"])
32def generate_files(): 38def generate_files():
33 """Handle configuration submission and execute bonsai.""" 39 """Handle configuration submission and execute bonsai."""