feat: add thumbnail generation for uploaded media files in storage module

This commit is contained in:
retoor 2024-12-03 20:56:29 +00:00
parent 6f0ff27e6f
commit 95b2a153f0

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),
]
)