edited path for creation upload folder
This commit is contained in:
parent
8c81935004
commit
9e98a224e3
@ -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"))
|
||||
|
||||
# # Загружаем стихи
|
||||
|
Loading…
x
Reference in New Issue
Block a user