From f75d4d1055448269af78b4e7332ce1f85526b4d8 Mon Sep 17 00:00:00 2001 From: urec56 Date: Sun, 9 Jun 2024 19:43:14 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BE=D0=B7=D0=B4=D0=B0=D0=BB=20=D0=BF?= =?UTF-8?q?=D0=B0=D0=BF=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index c1e1129..83fc1b0 100644 --- a/app/main.py +++ b/app/main.py @@ -19,7 +19,7 @@ app = FastAPI( tags=["Сервак для загрузки"], ) -app.mount("/static", StaticFiles(directory="app/static"), name="static") +app.mount("/static", StaticFiles(directory="static"), name="static") @app.post('/upload_avatar', response_model=dict[str, str])