chore(web): 添加微信域名校验文件 #30

Merged
lixu merged 1 commits from devin/1782285002-wechat-domain-verify into main 2026-06-24 15:11:58 +08:00
Owner

Summary

微信对 goods.tangshasha.com 做域名拦截/校验,需要在站点根目录提供微信下发的校验文件。

新增 public-frontend/public/e8b7a2a873a89b19a584a4f12a5bdd6b.txt(内容为微信校验串,40 字节无尾换行)。Vite 把 public/ 下文件原样拷到 dist/ 根目录,Go 二进制 serveSPA 对存在的根文件直接返回(未命中才回落 index.html),因此该文件在 https://goods.tangshasha.com/e8b7a2a873a89b19a584a4f12a5bdd6b.txt 可访问,供微信校验。纯静态文件,不改 API/逻辑。

## Summary 微信对 goods.tangshasha.com 做域名拦截/校验,需要在站点根目录提供微信下发的校验文件。 新增 `public-frontend/public/e8b7a2a873a89b19a584a4f12a5bdd6b.txt`(内容为微信校验串,40 字节无尾换行)。Vite 把 `public/` 下文件原样拷到 `dist/` 根目录,Go 二进制 `serveSPA` 对存在的根文件直接返回(未命中才回落 `index.html`),因此该文件在 `https://goods.tangshasha.com/e8b7a2a873a89b19a584a4f12a5bdd6b.txt` 可访问,供微信校验。纯静态文件,不改 API/逻辑。
lixu added 1 commit 2026-06-24 15:11:33 +08:00
chore(web): add WeChat domain verification file
CI / Go (api) (pull_request) Successful in 54s
CI / Python (ingestion) (pull_request) Successful in 26s
CI / Migrations (postgres) (pull_request) Successful in 27s
d18fc2470b
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
lixu merged commit 1d71617f71 into main 2026-06-24 15:11:58 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lixu/goods#30