mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-03 00:05:41 -04:00
vercel analytics ➡️ umami
This commit is contained in:
17 files changed
+151
-170
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user