React 在开发模式需要 eval()(DevTools 调用栈重建),而应用 CSP 由
next.config 统一下发且无 unsafe-eval ⇒ dev 下每页控制台报
「eval() is not supported in this environment」。
生产 React 从不使用 eval ⇒ scriptSrcExtra 仅在 NODE_ENV !== production
(即 next dev)时追加,生产头部与此前逐字节一致(双环境实测:
production 不含 / development 含)。
- Replace fabricated 12-year/500+/8+ team experience claims with
2026 founding, first-client co-creation, professional team wording
- Remove fake case studies and unverified certifications from seeds,
cases page, products and ERP upgrade page
- Enable Next.js standalone output and production hybrid deployment
(Dockerfile.prod, docker-compose.server.yml, Nginx nextjs upstream)
- Add linux-musl Prisma engine target and production crypto key build
- Sync production CMS database with cleaned seed content
- Add Content-Security-Policy and Permissions-Policy headers to nginx config
- Add same headers to next.config.mjs for dev/preview mode
- Add Referrer-Policy to next.config.mjs (was only in nginx)
- Generate production JWT/CMS secrets via openssl rand -base64 64
- Update README mark production env/security header task as complete