mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-09-03 02:20:04 +00:00
fix: improve error caching behavoir (#2211)
This commit ensures that the GraphQL Pat error is not cached in any browser. See https://github.com/anuraghazra/github-readme-stats/issues/1471#issuecomment-1282630614.
This commit is contained in:
+1
-1
@@ -180,7 +180,7 @@ describe("Test /api/", () => {
|
||||
|
||||
expect(res.setHeader.mock.calls).toEqual([
|
||||
["Content-Type", "image/svg+xml"],
|
||||
["Cache-Control", `no-store`],
|
||||
["Cache-Control", `no-cache, no-store, must-revalidate`],
|
||||
]);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user