Implements #10 - .env.example with all required environment variables - vercel.json with CORS headers and region config - docs/DEPLOYMENT.md with full deployment instructions - API key setup guides - Troubleshooting section Closes #10
17 lines
456 B
JSON
17 lines
456 B
JSON
{
|
|
"framework": "nextjs",
|
|
"buildCommand": "pnpm build",
|
|
"installCommand": "pnpm install",
|
|
"regions": ["iad1"],
|
|
"headers": [
|
|
{
|
|
"source": "/api/(.*)",
|
|
"headers": [
|
|
{ "key": "Access-Control-Allow-Origin", "value": "*" },
|
|
{ "key": "Access-Control-Allow-Methods", "value": "GET, POST, PUT, DELETE, OPTIONS" },
|
|
{ "key": "Access-Control-Allow-Headers", "value": "Content-Type, Authorization" }
|
|
]
|
|
}
|
|
]
|
|
}
|