diff --git a/mediarepo-api/src/tauri_plugin/custom_schemes.rs b/mediarepo-api/src/tauri_plugin/custom_schemes.rs index d61eaae..c2913fe 100644 --- a/mediarepo-api/src/tauri_plugin/custom_schemes.rs +++ b/mediarepo-api/src/tauri_plugin/custom_schemes.rs @@ -85,7 +85,7 @@ fn thumb_scheme(app: &AppHandle, request: &Request) -> Result().ok()) .unwrap_or(250); - if let Some(buffer) = buf_state.get_entry(hash) { + if let Some(buffer) = buf_state.get_entry(request.uri()) { ResponseBuilder::new() .status(200) .mimetype(&buffer.mime) @@ -98,7 +98,7 @@ fn thumb_scheme(app: &AppHandle, request: &Request) -> Result