chore(qa): 验收台账与证据入库 + 构建/部署配置同步
- docs/acceptance/qa-tracker.md:跨周期缺陷单一真源台账(§7=第五轮)。 - 周期 1/2 + iPhone SE/axe 验收证据目录、ACCEPTANCE_REVIEW 快照入库。 - 同步 README/CONTEXT/CLAUDE/DESIGN/testing/deployment/lessons-learned 口径; next.config/Dockerfile/nginx/Jenkinsfile/docker-compose/sentry/prisma 对齐 standalone 产物装配与部署形态。
This commit is contained in:
@@ -256,17 +256,19 @@ const notoSansSC = Noto_Sans_SC({
|
||||
});
|
||||
```
|
||||
|
||||
### 4. 静态导出
|
||||
### 4. 构建输出模式
|
||||
|
||||
```tsx
|
||||
// next.config.ts
|
||||
// next.config.mjs
|
||||
const nextConfig = {
|
||||
output: 'export',
|
||||
output: 'standalone',
|
||||
distDir: 'dist',
|
||||
images: { unoptimized: true },
|
||||
};
|
||||
```
|
||||
|
||||
`output: 'export'` 已于 2026-08 移除并被 standalone 取代(见 [ADR-0007](adr/0007-hybrid-rendering-for-cms.md)):营销页在构建时预渲染并走 ISR,`/api/*` 与 `/admin/*` 需要 Node 运行时,受支持的启动方式是 `node dist/standalone/server.js`。静态资源由 Nginx + CDN 接管,因此 `images.unoptimized: true` 是部署形态的要求。
|
||||
|
||||
## 安全设计
|
||||
|
||||
### 1. XSS 防护
|
||||
|
||||
Reference in New Issue
Block a user