Added thumnails.
RUpload build / Build (push) Successful in 1m7s

This commit is contained in:
2024-12-03 21:56:36 +01:00
parent 8f285bc619
commit 457026841e
+1 -1
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),
] ]
) )