Skip to content

Commit

Permalink
fix: don't cache homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
frectonz committed Aug 7, 2024
1 parent 7451dd3 commit f6a5119
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ mod statics {
.map(|file| {
Response::builder()
.header(CONTENT_TYPE, "text/html")
.header(CACHE_CONTROL, "max-age=3600, must-revalidate")
.body(file)
.unwrap()
})
Expand Down

0 comments on commit f6a5119

Please sign in to comment.