Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraghazra committed Oct 11, 2024
1 parent 53e4041 commit bebcb26
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ export default async (req, res) => {

res.setHeader(
"Cache-Control",
`max-age=${
cacheSeconds / 2
}, s-maxage=${cacheSeconds}, stale-while-revalidate=${CONSTANTS.ONE_DAY}`,
`max-age=${cacheSeconds}, s-maxage=${cacheSeconds}, stale-while-revalidate=${CONSTANTS.ONE_DAY}`,
);

return res.send(
Expand Down

0 comments on commit bebcb26

Please sign in to comment.