diff --git a/src/main.rs b/src/main.rs index 3ea7df3..d62fed7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -38,6 +38,7 @@ fn protocol_handler( let content = Cow::Owned(std::fs::read(path).unwrap()); wry::http::Response::builder() .header(wry::http::header::CONTENT_TYPE, "image/jpeg") + .header(wry::http::header::CACHE_CONTROL, "no-store") .body(content) .unwrap() }