Discourse Meta
CORS origins setup does not work
Product Support
codinghorror
(Jeff Atwood)
October 22, 2020, 2:02am
5
If the trailing slash is a problem, our code should auto-remove it
@sam
.
show post in topic
Related topics
Topic
Replies
Views
Activity
Multiple cors origins on hosted discourse?
Product Support
8
3243
August 21, 2017
No 'Access-Control-Allow-Origin' header is present despite setting DISCOURSE_ENABLE_CORS: true
Product Support
7
1730
October 28, 2021
Where I should go to set the `DISCOURSE_ENABLE_CORS` env variable?
Product Support
16
1379
December 27, 2022
Setup Cross-Origin Resource Sharing (CORS)
Self-Hosting
how-to
8
2329
January 13, 2026
CORS issue with javascript frontend
Self-hosting
1
743
July 20, 2020