fix: runtime nodejs

This commit is contained in:
shinya
2025-06-30 10:12:32 +08:00
parent 99d15544a4
commit ba94788932
5 changed files with 5 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' ? 'node' : 'edge';
export const runtime = process.env.DOCKER_ENV === 'true' ? 'nodejs' : 'edge';
export async function GET() {
try {