feat: Upgrade Next.js and React, configure standalone output, adjust API route runtimes, and add application icon.

This commit is contained in:
kuekhaoyang
2025-12-06 12:47:05 +08:00
parent 30300e745a
commit f575e45a10
10 changed files with 748 additions and 5436 deletions
+3 -2
View File
@@ -2,9 +2,10 @@ import { NextRequest, NextResponse } from 'next/server';
import { processM3u8Content } from '@/lib/utils/proxy-utils';
import { fetchWithRetry } from '@/lib/utils/fetch-with-retry';
export const runtime = 'edge';
export const runtime = 'nodejs';
// NOTE: process.env.NODE_TLS_REJECT_UNAUTHORIZED is not supported in Edge Runtime
// Disable SSL verification for video sources with invalid certificates
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
export async function GET(request: NextRequest) {
const url = request.nextUrl.searchParams.get('url');