mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-03-14 01:57:29 +08:00
fix: load dynamic config
This commit is contained in:
@@ -185,7 +185,7 @@ async function getVideoDetail(
|
||||
return getDetailFromApi(apiSite, id);
|
||||
}
|
||||
|
||||
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