From 0b81c3e098c378c77f340bd422338aaf51e701cf Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 26 Nov 2024 06:59:09 +0000 Subject: [PATCH] chore: remove placeholder content from initial project scaffold --- src/rupload/app.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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