1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-18 13:25:32 -04:00

vercel analytics ➡️ umami

This commit is contained in:
2025-03-11 14:28:29 -04:00
parent fa54a4f978
commit 125a6932c2
17 changed files with 151 additions and 170 deletions

View File

@@ -42,7 +42,7 @@ type Project = {
async function getRepos(): Promise<Project[] | null> {
// don't fail the entire site build if the required API key for this page is missing
if (!process.env.GITHUB_TOKEN || process.env.GITHUB_TOKEN === "") {
if (!process.env.GITHUB_TOKEN) {
console.warn(`ERROR: I can't fetch any GitHub projects without "GITHUB_TOKEN" set! Skipping for now...`);
return null;