hardcode date in hope that the requests would be cached

This commit is contained in:
blek 2023-10-10 01:14:11 +10:00
parent 7cf00857bb
commit 88520502ea
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ async fn main() {
let mut res = Response::new(out.into());
res.headers_mut().insert("Content-Type", warp::http::HeaderValue::from_static("image/png"));
res.headers_mut().insert("Date", warp::http::HeaderValue::from_static("Thu, 01 Jan 1970 00:00:00 GMT"));
res
})
);