mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-05-13 16:07:32 +08:00
fix: docker runtime
This commit is contained in:
@@ -185,7 +185,7 @@ async function getVideoDetail(
|
||||
return getDetailFromApi(apiSite, id);
|
||||
}
|
||||
|
||||
export const runtime = process.env.DOCKER_ENV === 'true' ? 'nodejs' : 'edge';
|
||||
export const runtime = 'edge';
|
||||
|
||||
export async function GET(request: Request) {
|
||||
const { searchParams } = new URL(request.url);
|
||||
|
||||
Reference in New Issue
Block a user