# לאן עלי ללכת כדי להגדיר את משתנה הסביבה \`DISCOURSE\_ENABLE\_CORS\`?

**URL:** <https://meta.discourse.org/t/where-i-should-go-to-set-the-discourse-enable-cors-env-variable/249632>\
**Category:** Product Support\
**Created:** [21 בדצמבר,‏ 2022,‏ 11:45pm UTC](https://meta.discourse.org/t/where-i-should-go-to-set-the-discourse-enable-cors-env-variable/249632 "2022-12-21T23:45:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Benjamin\_D](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/benjamin_d/32/277831_2.png) [@Benjamin\_D](https://meta.discourse.org/u/Benjamin_D)\
**Post date:** [22 בדצמבר,‏ 2022,‏ 12:14am UTC](https://meta.discourse.org/t/where-i-should-go-to-set-the-discourse-enable-cors-env-variable/249632/2 "2022-12-22T00:14:27Z")

</div>

I believe you have to set  
`DISCOURSE_ENABLE_CORS: true`  
in your app.yml (somewhere in the `env` section)

---

_[View the full topic](https://meta.discourse.org/t/where-i-should-go-to-set-the-discourse-enable-cors-env-variable/249632)._
