I’m trying to use the discourseEmbedUrl setup for this site. My comment component is on github but the gist is:
window.DiscourseEmbed = {
discourseUrl: siteMetadata.comment.discourseConfig.url,
discourseEmbedUrl: thread,
discourseReferrerPolicy: 'no-referrer-when-downgrade',
}
where thread = window.location.href
I’ve played around with configs a bit and now I’m getting the full url as Referer, but still it ‘doesn’t match’. You can see this at the bottom of the page on the blog
Edit: I was running 2.8.0.beta10, I just updated to 2.8.0.beta11 and it’s still the same. The only other monkey wrench I can think of is that this Discourse instance started out on another url and was migrated (forked, really). Everything else works fine though so I have no reason to think the migration went wrong.