Discourse Meta
设置跨源资源共享(CORS)
文档
自我托管
how-to
Olle11
2025 年5 月 30 日 09:57
7
如果想在帖子中使用 JavaScript,这是否比 CSP 更好?
目前,我依赖主题组件或 CSP 来运行 js,
此致
Olle
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
Set DISCOURSE_ENABLE_CORS for hosted forum
Self-hosting
hosting
5
2602
2022 年10 月 7 日
Where I should go to set the `DISCOURSE_ENABLE_CORS` env variable?
Support
16
1327
2022 年12 月 27 日
Enable CORS on localhost for DiscourseConnect
SSO
0
703
2024 年1 月 12 日
CORS Error when embedding comments in Gitlab-hosted Jekyll static site
Support
3
1079
2017 年10 月 17 日
Multiple cors origins on hosted discourse?
Support
8
3191
2017 年8 月 21 日