Embedding Discourse Comments via Javascript over https

I get a lot of errors of mixed content because my website is in HTTPS and the discourse subdomain too.
But the javascript embed code are trying to get HTTP links

    Uncaught (in promise) no-response: no-response :: [{"url":"http://discourse.domain.com/images/discourse-logo-sketch.png"}]
        at a.makeRequest (https://discourse.domain.com/javascripts/workbox/workbox-strategies.prod.js:1:2145)

_embed-application-590793ad7c35377ed13fcf562bc5faefeb2d67a33a71f1f98e420d6d94a31b4a.js:6 Uncaught DOMException: Failed to execute 'postMessage' on 'Window': Invalid target origin '' in a call to 'postMessage'.
    at u (https://discourse.domain.com/assets/embed-application-590793ad7c35377ed13fcf562bc5faefeb2d67a33a71f1f98e420d6d94a31b4a.js:1:105)
    at window.onload (https://discourse.domain.com/assets/embed-application-590793ad7c35377ed13fcf562bc5faefeb2d67a33a71f1f98e420d6d94a31b4a.js:1:523)
u @ _embed-application-590793ad7c35377ed13fcf562bc5faefeb2d67a33a71f1f98e420d6d94a31b4a.js:6
window.onload @ _embed-application-590793ad7c35377ed13fcf562bc5faefeb2d67a33a71f1f98e420d6d94a31b4a.js:36
load (async)
(anonymous) @ _embed-application-590793ad7c35377ed13fcf562bc5faefeb2d67a33a71f1f98e420d6d94a31b4a.js:25
(anonymous) @ _embed-application-590793ad7c35377ed13fcf562bc5faefeb2d67a33a71f1f98e420d6d94a31b4a.js:1
1 „Gefällt mir“

Check your Discourse site settings for force https. Make sure it’s enabled.

5 „Gefällt mir“

Yes, it works fine now. Thanks

1 „Gefällt mir“

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.