feat: 更新 TVBox API 解析逻辑,支持从配置文件异步读取源站列表

This commit is contained in:
katelya
2025-09-03 20:05:56 +08:00
parent 1ca36f7454
commit ac29b75457
4 changed files with 18 additions and 29 deletions
+3
View File
@@ -1,5 +1,8 @@
import { NextRequest, NextResponse } from 'next/server';
// 强制使用 Edge Runtime 以支持 Cloudflare Pages
export const runtime = 'edge';
// 常用的视频解析接口列表
const PARSE_APIS = [
{