feat: change thumbnail route from /uploads/thumbnail/ to /thumbnail/ in app.py

This commit is contained in:
retoor 2024-12-03 20:56:29 +00:00
parent 629439043d
commit e389d81aeb

View File

@ -338,7 +338,7 @@ def create_app(
web.get("/", handle_index),
web.post("/upload", handle_upload),
web.static("/", upload_path),
web.get("/uploads/thumbnail/{path:.*}", handle_thumbnail),
web.get("/thumbnail/{path:.*}", handle_thumbnail),
web.static("/uploads", upload_path),
]
)