Создал папки

This commit is contained in:
urec56 2024-06-09 19:43:14 +05:00
parent 76b0be1448
commit f75d4d1055

View file

@ -19,7 +19,7 @@ app = FastAPI(
tags=["Сервак для загрузки"], 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]) @app.post('/upload_avatar', response_model=dict[str, str])