Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Commit 95ab2c9

Browse files
author
Matteus
committed
Removed cache
1 parent dc3f741 commit 95ab2c9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ server.get("/", async (req, res) => {
6565
//@ts-ignore
6666
const svg = makeBadge(format);
6767
res.setHeader("Content-Type", "image/svg+xml; charset=utf-8");
68+
res.setHeader("Cache-Control", "max-age=0, no-cache, no-store, must-revalidate")
6869
return res.send(svg);
6970
});
7071

0 commit comments

Comments
 (0)