Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraghazra authored and IonianPlayboy committed Nov 23, 2024
1 parent fcdacf5 commit 60917e0
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 60917e0

Please sign in to comment.