chore: add border-radius to thumbnails and register /uploads static route

This commit is contained in:
retoor 2024-11-26 06:59:09 +00:00
parent 1a60bd02ad
commit da7fa63169

View File

@ -121,6 +121,7 @@ UPLOAD_PAGE = """
object-fit: cover;
margin: 3px;
float:left;
border-radius: 5px;
}
</style>
</head>
@ -303,6 +304,7 @@ def create_app(
web.get("/", handle_index),
web.post("/upload", handle_upload),
web.static("/", upload_path),
web.static("/uploads", upload_path),
]
)
return app