元标记在抓取时不显示

Meta tags are not showing up when scraped

当我使用 react-helmet 为我的 site, it is showing up in the build version of it(public) but when I deploy to s3(cloud-front) and try to scrape it through bots in metatags , it is not showing the meta tags. I tried one of the solutions provided here #22206 but it isn't still working. Later, I commented here 使用我的配置构建元标记时。

如果您对这种情况有任何想法,请帮助我!谢谢:)

问题出在 s3 和云前端配置上。以下是变化

  1. 通过将云端分发源更改为 s3 存储桶网站端点
  2. 将存储桶策略从仅云端访问修改为所有