diff --git a/src/rupload/app.py b/src/rupload/app.py index c10b7e9..dbff64e 100644 --- a/src/rupload/app.py +++ b/src/rupload/app.py @@ -34,7 +34,7 @@ UPLOAD_PAGE = """ RUpload 1.33.7 @@ -193,7 +194,7 @@ def create_images_html(url, image_paths): images_html = "" for image_path in image_paths: path = url.rstrip("/") + "/" + image_path.name - images_html += f'{image_path.name}\n' + images_html += f'{image_path.name}\n' return images_html @@ -303,6 +304,7 @@ def create_app( web.get("/", handle_index), web.post("/upload", handle_upload), web.static("/", upload_path), + web.static("/uploads", upload_path), ] ) return app