Discourse Meta
What are the risks of enabling Cross-origin resource sharing (DISCOURSE_ENABLE_CORS)
Support
sam
(Sam Saffron)
March 18, 2016, 3:23am
2
See here:
Bottom line, it is a very bad idea to enable *
show post in topic
Related topics
Topic
Replies
Views
Activity
Setup Cross-Origin Resource Sharing (CORS)
Self-Hosting
how-to
8
2264
January 13, 2026
What is the purpose of Settings -> Security -> CORS origins vs similar environment setting?
Support
2
3749
November 9, 2015
CORS issue with javascript frontend
Self-hosting
1
736
July 20, 2020
Set DISCOURSE_ENABLE_CORS for hosted forum
Self-hosting
hosting
5
2615
October 7, 2022
Where I should go to set the `DISCOURSE_ENABLE_CORS` env variable?
Support
16
1342
December 27, 2022