# תצוגה מקדימה לא עובדת בעת שימוש בחנות אובייקטים - כתובת url שגויה של markdown-it

**URL:** <https://meta.discourse.org/t/preview-not-working-when-using-object-store-wrong-markdown-it-url/215549>\
**Category:** Self-hosting\
**Created:** [21 בינואר,‏ 2022,‏ 10:02am UTC](https://meta.discourse.org/t/preview-not-working-when-using-object-store-wrong-markdown-it-url/215549 "2022-01-21T10:02:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![unteem](https://avatars.discourse-cdn.com/v4/letter/u/d07c76/32.png) [@unteem](https://meta.discourse.org/u/unteem)\
**Post date:** [21 בינואר,‏ 2022,‏ 10:45am UTC](https://meta.discourse.org/t/preview-not-working-when-using-object-store-wrong-markdown-it-url/215549/3 "2022-01-21T10:45:19Z")

</div>

That was my guess also, forgot to mention that.

Well I’m not 100% sure as I don’t really have proper dev environment to test everything thoroughly, but it does not seem to come from there.

From what I saw, `script_asset_path('markdown-it-bundle')` is returning the right URL. And i think its used to build this meta HTML tag which looks fine.

```plaintext
<meta id="data-discourse-setup" data-cdn="https://discourse.liiib.re" data-base-url="https://discourse.liiib.re" data-base-uri="" data-environment="production" data-letter-avatar-version="5_c12935382690395be92856801563c2b7" data-markdown-it-url="https://forum-beta-liiib-re.hot-objects.liiib.re/assets/markdown-it-bundle-9d939740bdeca330e5984bed41d12eab63736c1f720ab68e0c2a2d672c01adc2.br.js" data-service-worker-url="service-worker.js" data-default-locale="en" data-asset-version="be5bda1657984e9e27d7d3c27ab24add" data-disable-custom-css="false" data-highlight-js-path="/highlight-js/discourse.liiib.re/084d101d62e4ceb91462fa1464b341511141973f.js" data-svg-sprite-path="/svg-sprite/discourse.liiib.re/svg-1-c105fc3106297bc864bbadbd418cf380c71e3a4b.js" data-enable-js-error-reporting="true" data-color-scheme-is-dark="false" data-user-color-scheme-id="4" data-user-dark-scheme-id="1" data-s3-cdn="https://forum-beta-liiib-re.hot-objects.liiib.re" data-s3-base-url="//forum-beta-liiib-re.hot-objects.liiib.re">

```

It seems to be the js that is putting the wrong url with the `https:` prefix. I could not find where its coming from though.

Its only when I open the editor that I have a `<script src="https:https://forum-beta-liiib-re.hot-objects.liiib.re/assets/markdown-it-bundle-9d939740bdeca330e5984bed41d12eab63736c1f720ab68e0c2a2d672c01adc2.br.js"</script>` popping up.

---

_[View the full topic](https://meta.discourse.org/t/preview-not-working-when-using-object-store-wrong-markdown-it-url/215549)._
