Waar moet ik de `DISCOURSE_ENABLE_CORS` omgevingsvariabele instellen?

I don’t think you can do that.

There is a hidden site setting that allows embedding an iframe but I suspect that it’s not available on standard or business plans. You can contact your support contact to ask.

Embedding discourse on an iframe is not officially supported.