fix(build): disable Turbopack for Vercel deployment
- Add --webpack flag to build command to use Webpack instead of Turbopack - Add maxDuration export to health route - This should ensure API routes are properly detected and deployed as serverless functions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
748ca4d19c
commit
8281f8fb5b
2 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@ import { NextResponse } from 'next/server';
|
|||
|
||||
export const runtime = 'nodejs';
|
||||
export const dynamic = 'force-dynamic';
|
||||
export const maxDuration = 60;
|
||||
|
||||
/**
|
||||
* GET /api/health
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue