feat: 个人主页 + 部署配置(www.mikivl.online)

- vite.config.ts: 加 base: '/app/',App 部署在子路径
- server/index.ts: MODELS_FILE 支持环境变量覆盖(容器化写权限)
- homepage/index.html: 极简开发者风格个人主页(About/Projects/Skills/Contact)
- nginx/default.conf: 反向代理,SSE proxy_buffering off,SPA fallback
- docker-compose.yml: Nginx + Hono 容器编排,models_data volume 持久化
- deploy.sh: 一键本地构建 + rsync 上传 + 远端重启

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
MikiVL
2026-05-03 01:27:39 +08:00
co-authored by Claude Sonnet 4.6
parent 9c534a920d
commit 5e01c8df4a
7 changed files with 504 additions and 2 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ function nodesToDocxParagraphs(nodes: TipTapNode[]): Paragraph[] {
})
case 'codeBlock': {
const code = (node.content ?? []).map((n: TipTapNode) => n.text ?? '').join('')
return code.split('\n').map(line => new Paragraph({
return code.split('\n').map((line: string) => new Paragraph({
children: [new TextRun({ text: line, font: 'Courier New' })],
}))
}