Generate thumbnails before API starts up
Clients can now request a thumbnail by specifying a size on the image request.
This commit is contained in:
@@ -60,6 +60,7 @@ impl FromRequest for Claims {
|
||||
#[derive(Deserialize)]
|
||||
pub struct ThumbnailRequest {
|
||||
pub path: String,
|
||||
pub size: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
|
||||
Reference in New Issue
Block a user