From 9e98a224e3c40401f8d7e18e5288e7a3d0f51916 Mon Sep 17 00:00:00 2001 From: DmitryGantimurov Date: Thu, 27 Jul 2023 23:25:27 +0300 Subject: [PATCH] edited path for creation upload folder --- back/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/main.py b/back/main.py index 62bc357..e1f562e 100644 --- a/back/main.py +++ b/back/main.py @@ -32,7 +32,7 @@ templates = Jinja2Templates(directory="./front/dist") app.mount("/static", StaticFiles(directory = "./front/dist")) if not os.path.exists("./uploads"): - os.mkdir("C:/Users/38812/porridger/uploads") + os.mkdir("./uploads") app.mount("/uploads", StaticFiles(directory = "./uploads")) # # Загружаем стихи