~vpzom/hitide

5fb9f7df6bb1bbdada1f2a0cc69126044d6fb0c7 — Colin Reeder 11 days ago 652e15b
Add public to Cache-Control for icons
1 files changed, 1 insertions(+), 1 deletions(-)

M src/routes/static.rs
M src/routes/static.rs => src/routes/static.rs +1 -1
@@ 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)