feat: change thumbnail route from /uploads/thumbnail/ to /thumbnail/ in app.py
This commit is contained in:
parent
629439043d
commit
e389d81aeb
@ -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),
|
||||
]
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user