Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有人有使用 Snap 框架使用跨域请求的经验。我是使用该框架的新手,并且为 Yesod 找到了一些东西(在 Yesod中允许跨域请求),但我不确定如何为 Snap 做这件事。任何帮助,将不胜感激。
您可以使用 Snap 的标题操作功能设置适当的标题。