New Discourse user here just trying to get a basic site skeleton up. So far, almost everything has been smooth except for getting the comment-embedding/post-generating functionality to work.
I have my Discourse instance running on a Digital Ocean droplet, as per the setup instructions.
My discourse url is: http://discuss.singlebagtravel.com
My static site is located at: http://singlebagtravel.com
I have added: DISCOURSE_ENABLE_CORS: true
to the app.yml
file and re-launched.
I have set Settings > Security > cors origins to: http://singlebagtravel.com
The console on my static site where I embed the comments shows this:
Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘http://discuss.singlebagtravel.com’) does not match the recipient window’s origin (‘http://singlebagtravel.com’)
There are a number of similar posts that I found in the forums that have helped me get this far, but none of the solutions suggested in any of them have worked for me. I feel like I may be missing something obvious here, because it seems like it should work.
Thanks!