@oblio wrote:
I'm trying to Embed discourse using the standalone setup (standard installation). I've configured discourse to allow dota.oblio360.com as an embeddable host. And I'm using this code snippet for the page itself:
<div id="discourse-comments"></div> <script type="text/javascript"> var discourseUrl = "https://forum.oblio360.com/", discourseEmbedUrl = "https://dota.oblio360.com{{ page.url }}"; (function() { var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true; d.src = discourseUrl + 'javascripts/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d); })(); </script>
However I'm seeing this in the logs:
Job exception: Wrapped RuntimeError: redirection forbidden: https://dota.oblio360.com/2015/08/10/zero-hero-storm-spirit -> http://dota.oblio360.com/2015/08/10/zero-hero-storm-spirit/
Is there a reason Discourse is trying to redirect to http?
The end result can be seen here: https://dota.oblio360.com/2015/08/10/zero-hero-storm-spirit/
-> "Loading discussion" but no link or anything.The forum itself is here: https://forum.oblio360.com/
Also another question: what's up with the loading time tags (10.5 ms & co)? Can I disable them?
Posts: 3
Participants: 2