mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-02 14:22:28 +08:00
fix: revert maxDuration to static value (Next.js requirement) (#121)
This commit is contained in:
@@ -15,7 +15,7 @@ import {
|
||||
} from "@/lib/langfuse"
|
||||
import { getSystemPrompt } from "@/lib/system-prompts"
|
||||
|
||||
export const maxDuration = Number(process.env.MAX_DURATION) || 60
|
||||
export const maxDuration = 300
|
||||
|
||||
// File upload limits (must match client-side)
|
||||
const MAX_FILE_SIZE = 2 * 1024 * 1024 // 2MB
|
||||
|
||||
Reference in New Issue
Block a user