# Waar moet ik de \`DISCOURSE\_ENABLE\_CORS\` omgevingsvariabele instellen?

**URL:** https://meta.discourse.org/t/where-i-should-go-to-set-the-discourse-enable-cors-env-variable/249632
**Category:** Support
**Created:** [21 december 2022 om 23:45 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:** 13

<div class="post-metadata">

### Author: ![mikeguo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikeguo/32/278830_2.png) [@mikeguo](https://meta.discourse.org/u/mikeguo)
#### Post date: [24 december 2022 om 02:16 UTC](https://meta.discourse.org/t/where-i-should-go-to-set-the-discourse-enable-cors-env-variable/249632/13 "2022-12-24T02:16:53Z")

</div>

`iframe` is created by official js script. I’m using the codes that are provided on `/admin/customize/embedding`, as blow:

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/0/9/60932c76c9d8adea9eaa5edf75574dedf4fbbd00.png)  
I need to keep the embedded parts consistent with the color pattern of my website, so I have to access the iframe althogh the iframe is not created by me.

---

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