mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-03-15 18:47:28 +08:00
fix: load dynamic config
This commit is contained in:
@@ -5,7 +5,7 @@ import { NextRequest, NextResponse } from 'next/server';
|
||||
import { db } from '@/lib/db';
|
||||
import { PlayRecord } from '@/lib/db';
|
||||
|
||||
export const runtime = 'edge';
|
||||
export const runtime = process.env.DOCKER_ENV === 'true' ? 'node' : 'edge';
|
||||
|
||||
export async function GET() {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user