shared::media

Function media_key

Source
pub fn media_key(library: MediaLibrary, id: Uuid, file_kind: FileKind) -> String
Expand description

gives the key for some media with the given parameters this is not a full url, (for CDN it’s missing the domain)