emby test2
This commit is contained in:
@@ -3,11 +3,17 @@ import { NextResponse } from 'next/server';
|
||||
import { embyManager } from '@/lib/emby-manager';
|
||||
|
||||
export const runtime = 'nodejs';
|
||||
export const dynamic = 'force-dynamic'; // 禁用缓存
|
||||
|
||||
/**
|
||||
* 获取所有启用的Emby源列表
|
||||
*/
|
||||
export async function GET() {
|
||||
console.log('=================================');
|
||||
console.log('[Emby Sources API] !!!!! 路由被调用了 !!!!!');
|
||||
console.log('[Emby Sources API] 时间戳:', new Date().toISOString());
|
||||
console.log('=================================');
|
||||
|
||||
try {
|
||||
console.log('[Emby Sources API] 开始获取Emby源列表');
|
||||
const sources = await embyManager.getEnabledSources();
|
||||
|
||||
Reference in New Issue
Block a user