CCodeWhale Botfix(web): send old-domain redirects to https only
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix(web): send old-domain redirects to https only The deepseek-tui.com redirect worker kept the request's scheme when it swapped the host, so a plain-http request to the old domain was redirected to http://codewhale.net/... instead of https. The worker now sets the scheme to https before it sets the host, so every redirect from the old domain lands on https://codewhale.net with the same path and query. Evidence (source and local only; the worker is not deployed by this change): - A scratch harness outside the repository imports web/redirect/src/index.ts and calls fetch() for two http inputs and one https input. Before: 2 of 3 Location headers were http (exit 1). After: 3 of 3 are https (exit 0). - eslint redirect/src/index.ts: exit 0, no findings. - tsc --noEmit --strict on redirect/src/index.ts: exit 0. - No existing test covers this worker and none was added. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> | 19 天前 | |
chore: finalize v0.8.46 release — docs refresh, web branding, redirect worker - Update all three READMEs with binary-pair install instructions - Update INSTALL.md for platform archive + binary pair language - Regenerate facts.generated.ts for v0.8.46 (14 crates, 70 tools) - Rename CF worker project to codewhale-web, add codewhale.net routes - Add web/redirect worker for deepseek-tui.com → codewhale.net | 5 个月前 |