mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-08-14 10:25:11 +00:00
fix: github rate limiter with multiple PATs
This commit is contained in:
@@ -14,6 +14,8 @@ module.exports = async (req, res) => {
|
||||
} = req.query;
|
||||
|
||||
let repoData;
|
||||
|
||||
res.setHeader("Cache-Control", "public, max-age=300");
|
||||
res.setHeader("Content-Type", "image/svg+xml");
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user