From 1aa4712a8692a85ce686cc1c02c53c2087fedbd8 Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 26 Nov 2024 05:46:42 +0000 Subject: [PATCH] fix: change static file mount point from /uploads to root path in app router --- src/rupload/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rupload/app.py b/src/rupload/app.py index 3ffd152..6e87718 100644 --- a/src/rupload/app.py +++ b/src/rupload/app.py @@ -292,7 +292,7 @@ def create_app( [ web.get("/", handle_index), web.post("/upload", handle_upload), - web.static("/uploads", upload_path), + web.static("/", upload_path), ] ) return app