diff options
Diffstat (limited to 'app.py')
| -rw-r--r-- | app.py | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -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") | ||
| 32 | def favicon(): | ||
| 33 | """Serve the favicon.""" | ||
| 34 | return send_from_directory(".", "favicon.ico") | ||
| 35 | |||
| 36 | |||
| 31 | @app.route("/", methods=["POST"]) | 37 | @app.route("/", methods=["POST"]) |
| 32 | def generate_files(): | 38 | def generate_files(): |
| 33 | """Handle configuration submission and execute bonsai.""" | 39 | """Handle configuration submission and execute bonsai.""" |
