fix: github rate limiter with multiple PATs

This commit is contained in:
anuraghazra
2020-07-15 14:59:25 +05:30
parent 2efb399f33
commit 3d8dea90e2
6 changed files with 78 additions and 25 deletions

View File

@@ -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 {