This commit is contained in:
parent
a4f9bd7727
commit
9f20c461e4
@ -121,6 +121,7 @@ UPLOAD_PAGE = """
|
|||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
margin: 3px;
|
margin: 3px;
|
||||||
float:left;
|
float:left;
|
||||||
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
@ -303,6 +304,7 @@ def create_app(
|
|||||||
web.get("/", handle_index),
|
web.get("/", handle_index),
|
||||||
web.post("/upload", handle_upload),
|
web.post("/upload", handle_upload),
|
||||||
web.static("/", upload_path),
|
web.static("/", upload_path),
|
||||||
|
web.static("/uploads", upload_path),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
return app
|
return app
|
||||||
|
Loading…
Reference in New Issue
Block a user