Where I should go to set the `DISCOURSE_ENABLE_CORS` env variable?

@mikeguo what is the platform of the site into which you are trying to embed your Discourse Topics?

For example, is it a Wordpress site, or a Ghost blog?

Please provide an URL to a Post on the destination site.

All I can see is this (from the screenshot of the code in your Topic above):

https://e53c-185-143-220-5.eu.ngrok.io/

So, for example, I used the ‘DISCOURSE_ENABLE_CORS’ env variable as described in this post to display content from my Discourse forum on a page within my Ghost blog…

However, the feature you seem to be trying to use from your code posted above here…

…seems to indicate that you are trying to embed Topics from your Discourse forum AS POSTS within your external site, which is a different use case.

We need you to explain better what it is that you are trying to do here…

1 Like