Files
socweb/frontend/next.config.mjs
T
gongzhiyongandClaude Sonnet 4.6 60acbac464 Fix 3 P0 issues from code review
FCR-1: Set ignoreBuildErrors to false in next.config.mjs
FCR-2: Default API_URL to production backend so static builds work correctly;
       .env.local overrides to localhost for local dev
FCR-3: Remove createConversation call in handleSend; generate UUID client-side
       and let backend streamChat auto-create the conversation to avoid duplicate writes

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 16:21:33 +08:00

12 lines
201 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
typescript: {
ignoreBuildErrors: false,
},
images: {
unoptimized: true,
},
}
export default nextConfig