弹幕请求超时修改为2分钟

This commit is contained in:
mtvpls
2025-12-19 15:16:55 +08:00
parent e8d994ac27
commit 528b20c58d

View File

@@ -70,7 +70,7 @@ export async function GET(request: NextRequest) {
// 添加超时控制
const controller = new AbortController();
const timeoutId = setTimeout(() => controller.abort(), 10000); // 10秒超时
const timeoutId = setTimeout(() => controller.abort(), 120000); // 2分钟超时
try {
const response = await fetch(apiUrl, {