Added thumnails.
All checks were successful
RUpload build / Build (push) Successful in 1m7s

This commit is contained in:
retoor 2024-12-03 21:56:29 +01:00
parent 8f285bc619
commit 457026841e

View File

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