Repository navigation
feat: 官网 cocoai.chat 上线与配套修正 - #63
Merged
Merged
Conversation
- 用户协议链接指向 https://cocoai.chat/terms.html - 隐私政策链接指向 https://cocoai.chat/privacy.html - 联系邮箱改为 hinson0@qq.com - 底部版权年份更新为 © 2026 CoCo AI Co-Authored-By: Claude <noreply@anthropic.com>
5 张截图从原始 ~3.1MB 压缩到 ~480KB (约 6x 体积缩减),首屏加载更快。 Co-Authored-By: Claude <noreply@anthropic.com>
记录 cocoai.chat 上线过程中的 Nginx 部署经验,包括: - 目录结构与 include 通配符规范 - 完整 server block 模板(主站 + www 301 + api 反代) - 常用命令与权限要点(/home 下 www-data 权限坑) - SSL 证书方案对比(certbot vs 腾讯云单域名证书) - DNS 泛解析与精确记录优先级 - 常见坑速查(http2 redefined / 硬编码 include / 证书域名不匹配 等) - 日志排错命令与部署更新流程 Co-Authored-By: Claude <noreply@anthropic.com>
记录 cocoai.chat 官网 assets 压缩过程: - pngquant 安装与常用命令(单张/批量/递归) - 本次实测对照表(2.9MB → 480KB) - 质量参数选择与视觉效果对应 - pngquant + oxipng 终极组合 - WebP / AVIF 替代方案速查 Co-Authored-By: Claude <noreply@anthropic.com>
隐私政策 onPress 回调按 80 列断行。 Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Owner
Author
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
https://cocoai.chat— 便签拼贴风静态站,配套隐私政策 + 用户协议about.tsx里example.com× 3 改为cocoai.chat真实地址docs/knowledges/nginx/static-site-deploy.md改动范围
apps/mobile/app/about.tsxapps/web/assets/*.pngdocs/knowledges/nginx/static-site-deploy.md部署现状
@/*/api均指向119.45.41.158Test plan
https://cocoai.chat首页渲染正常curl -I https://www.cocoai.chat→ HTTP/2 301curl -I https://api.cocoai.chat/docs→ FastAPI swagger 可达Co-Authored-By: Claude noreply@anthropic.com