devin/1782285002-wechat-domain-verify
main
微信对 goods.tangshasha.com 做域名拦截/校验,需要在站点根目录提供微信下发的校验文件。
新增 public-frontend/public/e8b7a2a873a89b19a584a4f12a5bdd6b.txt(内容为微信校验串,40 字节无尾换行)。Vite 把 public/ 下文件原样拷到 dist/ 根目录,Go 二进制 serveSPA 对存在的根文件直接返回(未命中才回落 index.html),因此该文件在 https://goods.tangshasha.com/e8b7a2a873a89b19a584a4f12a5bdd6b.txt 可访问,供微信校验。纯静态文件,不改 API/逻辑。
public-frontend/public/e8b7a2a873a89b19a584a4f12a5bdd6b.txt
public/
dist/
serveSPA
index.html
https://goods.tangshasha.com/e8b7a2a873a89b19a584a4f12a5bdd6b.txt
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
No dependencies set.
The note is not visible to the blocked user.
Summary
微信对 goods.tangshasha.com 做域名拦截/校验,需要在站点根目录提供微信下发的校验文件。
新增
public-frontend/public/e8b7a2a873a89b19a584a4f12a5bdd6b.txt(内容为微信校验串,40 字节无尾换行)。Vite 把public/下文件原样拷到dist/根目录,Go 二进制serveSPA对存在的根文件直接返回(未命中才回落index.html),因此该文件在https://goods.tangshasha.com/e8b7a2a873a89b19a584a4f12a5bdd6b.txt可访问,供微信校验。纯静态文件,不改 API/逻辑。