From 5fb9f7df6bb1bbdada1f2a0cc69126044d6fb0c7 Mon Sep 17 00:00:00 2001 From: Colin Reeder Date: Wed, 14 Oct 2020 21:44:44 -0600 Subject: Add public to Cache-Control for icons --- src/routes/static.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/static.rs b/src/routes/static.rs index 766a094..33fac2a 100644 --- a/src/routes/static.rs +++ b/src/routes/static.rs @@ -29,7 +29,7 @@ async fn handler_static_get( ); resp.headers_mut().insert( hyper::header::CACHE_CONTROL, - hyper::header::HeaderValue::from_static("max-age=31536000, immutable"), + hyper::header::HeaderValue::from_static("public, max-age=31536000, immutable"), ); Ok(resp) -- cgit v1.2.3