diff --git a/src/app/dadvocate/page.tsx b/src/app/dadvocate/page.tsx index d2d8b35..f8b7f78 100644 --- a/src/app/dadvocate/page.tsx +++ b/src/app/dadvocate/page.tsx @@ -30,7 +30,6 @@ const videoIds = [ const fallbackData: Video[] = [ { id: 'dbPXoZ_cri8', title: 'Placeholder Dadvocate Video 1' }, { id: 'y2SfYffLZQ4', title: 'Placeholder Dadvocate Video 2' }, - { id: 'CdJLCln1Kjg', title: 'Placeholder Dadvocate Video 3' }, ]; async function getYouTubeVideos(ids: string[]): Promise { diff --git a/src/app/gallery/page.tsx b/src/app/gallery/page.tsx index ca37cf5..3e90d17 100644 --- a/src/app/gallery/page.tsx +++ b/src/app/gallery/page.tsx @@ -33,7 +33,7 @@ const fallbackData: Video[] = [ async function getYouTubeVideos(ids: string[]): Promise { const apiKey = process.env.YOUTUBE_API_KEY; - console.log("Using YouTube API Key:", apiKey ? "Available" : "Not Set"); + if (!apiKey) { console.warn("YOUTUBE_API_KEY environment variable not set. Using hardcoded video titles as fallback."); return fallbackData;