Skip to main content

thumbnail_key

Function thumbnail_key 

Source
pub fn thumbnail_key(source_url: &str) -> String
Expand description

Compute the thumbnail object key from a source URL.

Returns thumbnails/{sha256_hex(url)[0..32]}.webp.