Merge pull request #745 from benphelps/fix-version-check-cache
Fix: version check cachingpull/749/head
commit
2e8717247d
@ -0,0 +1,6 @@
|
||||
import cachedFetch from "utils/proxy/cached-fetch";
|
||||
|
||||
export default async function handler(req, res) {
|
||||
const releasesURL = "https://api.github.com/repos/benphelps/homepage/releases";
|
||||
return res.send(await cachedFetch(releasesURL, 5));
|
||||
}
|
Loading…
Reference in new issue