diff --git a/app/(ui)/page.tsx b/app/(ui)/page.tsx index 978c187..1059a70 100755 --- a/app/(ui)/page.tsx +++ b/app/(ui)/page.tsx @@ -17,16 +17,17 @@ export default function Home() {
- - Banner - + {/* TEMPORARY: Hacked channel */} + {/* */} + Banner + {/* */}
diff --git a/app/api/live/route.ts b/app/api/live/route.ts index 180e2ef..536ef72 100755 --- a/app/api/live/route.ts +++ b/app/api/live/route.ts @@ -63,7 +63,8 @@ export async function GET(req: NextRequest) { const channelId = process.env.YOUTUBE_CHANNEL_ID; const apiKey = process.env.YOUTUBE_API_KEY; - if (!apiKey || !channelId) return NextResponse.json("none"); + // TEMPORARY: Hacked channel + if (!apiKey || !channelId && true) return NextResponse.json("none"); const response = await youtubeCache.fetch( `https://www.googleapis.com/youtube/v3/search?part=snippet&channelId=${channelId}&eventType=live&type=video&maxResults=1&key=${apiKey}`,