mirror of
https://github.com/Aviortheking/codestats-readme.git
synced 2025-08-04 09:51:59 +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