Skip to content

Commit

Permalink
fix: remove cached html response
Browse files Browse the repository at this point in the history
  • Loading branch information
v0l committed Sep 16, 2024
1 parent 54dbef9 commit 0d5dcd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/_middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const onRequest: PagesFunction<Env> = async context => {
return new Response(body, {
headers: {
...Object.fromEntries(rsp.headers.entries()),
"cache-control": "public, max-age=60",
"cache-control": "no-cache",
},
});
}
Expand Down

0 comments on commit 0d5dcd4

Please sign in to comment.