diff --git a/packages/github-user-contribution-service/api/github-user-contribution/[userName].ts b/packages/github-user-contribution-service/api/github-user-contribution/[userName].ts index 3c79b5cc4..33dd22dea 100644 --- a/packages/github-user-contribution-service/api/github-user-contribution/[userName].ts +++ b/packages/github-user-contribution-service/api/github-user-contribution/[userName].ts @@ -6,7 +6,7 @@ export default async (req: VercelRequest, res: VercelResponse) => { try { res.setHeader("Access-Control-Allow-Origin", "https://platane.github.io"); - res.setHeader("Cache-Control", "max-age=21600"); + res.setHeader("Cache-Control", "max-age=21600, s-maxage=21600"); res.statusCode = 200; res.json( await getGithubUserContribution(userName as string, {