优化小雅匹配数据

This commit is contained in:
mtvpls
2026-01-12 12:17:00 +08:00
parent 7655eee23d
commit ffd29e009a
4 changed files with 39 additions and 10 deletions

View File

@@ -207,6 +207,8 @@ export async function GET(request: NextRequest) {
proxyMode: false,
// 返回用户点击的文件索引(如果找到的话)
initialEpisodeIndex: clickedFileIndex >= 0 ? clickedFileIndex : undefined,
// 返回元数据来源
metadataSource: metadata.source,
};
return NextResponse.json(result);