mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-05-18 20:14:41 +08:00
fix: load dynamic config
This commit is contained in:
@@ -43,7 +43,7 @@ async function fetchDoubanData(url: string): Promise<DoubanApiResponse> {
|
||||
}
|
||||
}
|
||||
|
||||
export const runtime = 'edge';
|
||||
export const runtime = process.env.DOCKER_ENV === 'true' ? 'node' : 'edge';
|
||||
|
||||
export async function GET(request: Request) {
|
||||
const { searchParams } = new URL(request.url);
|
||||
|
||||
Reference in New Issue
Block a user