summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Reeder <colin@vpzom.click>2020-10-14 21:44:44 -0600
committerColin Reeder <colin@vpzom.click>2020-10-14 21:44:59 -0600
commit5fb9f7df6bb1bbdada1f2a0cc69126044d6fb0c7 (patch)
tree9718e06b0f312410b74d903196acd39f8c29c086
parent652e15b0270f43f07cc436a85a3041d7022adbdf (diff)
Add public to Cache-Control for icons
-rw-r--r--src/routes/static.rs2
1 files changed, 1 insertions, 1 deletions
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)