fix: docker runtime

This commit is contained in:
shinya
2025-06-30 10:19:44 +08:00
parent ba94788932
commit 3c4ec1dc51
6 changed files with 7 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ import { NextRequest, NextResponse } from 'next/server';
import { db } from '@/lib/db';
import { PlayRecord } from '@/lib/db';
export const runtime = process.env.DOCKER_ENV === 'true' ? 'nodejs' : 'edge';
export const runtime = 'edge';
export async function GET() {
try {