separate page/site stats API endpoints to lower memory usage

This commit is contained in:
2022-07-10 17:26:22 -04:00
parent 87305b5424
commit 9be41b5e5c
6 changed files with 58 additions and 44 deletions
+1 -3
View File
@@ -79,9 +79,7 @@ export const getStaticProps: GetStaticProps<{
console.warn(`ERROR: I can't fetch any GitHub projects without "GH_PUBLIC_TOKEN" set! Skipping for now...`);
return {
props: {
repos: [],
},
notFound: true,
};
}