diff options
Diffstat (limited to 'src/app.py')
| -rw-r--r-- | src/app.py | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -51,6 +51,11 @@ def index(): | |||
| 51 | return send_from_directory(app.root_path, "index.html") | 51 | return send_from_directory(app.root_path, "index.html") |
| 52 | 52 | ||
| 53 | 53 | ||
| 54 | @app.route("/favicon.svg") | ||
| 55 | def favicon_svg(): | ||
| 56 | return send_from_directory(app.root_path, "favicon.svg") | ||
| 57 | |||
| 58 | |||
| 54 | @app.route("/uploads/<filename>") | 59 | @app.route("/uploads/<filename>") |
| 55 | def uploads(filename: str): | 60 | def uploads(filename: str): |
| 56 | return send_from_directory(UPLOAD_DIR, filename) | 61 | return send_from_directory(UPLOAD_DIR, filename) |
