# Invalid URL for markdown-it-bundle

**URL:** <https://meta.discourse.org/t/invalid-url-for-markdown-it-bundle/248463>\
**Category:** Self-hosting\
**Tags:** cdn, s3\
**Created:** [December 10, 2022, 8:49am UTC](https://meta.discourse.org/t/invalid-url-for-markdown-it-bundle/248463 "2022-12-10T08:49:55Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![JustinBack](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justinback/32/133266_2.png) [@JustinBack](https://meta.discourse.org/u/JustinBack)\
**Post date:** [December 10, 2022, 8:49am UTC](https://meta.discourse.org/t/invalid-url-for-markdown-it-bundle/248463/1 "2022-12-10T08:49:55Z")

</div>

After doing an update today and enabling the S3\_CDN\_URL Option in the envs, everything but markdown-it-bundle loads.

```plaintext
https://tosdr.community/https://tosdr-community.s3.jrbit.de/assets/markdown-it-bundle-5a633717415fd164893a925e4cac1406ecab8179d15637506b08a147ab543433.br.js

```

While the assets on the server exist and have been uploaded, discourse still prefixes with the base url.  
All other assets work just fine.

I have checked the uploads table, and all urls have the proper format.

Is there any other table I can look into or just a plain fix for this issue?

Is there any DbHelper like `remap` but for searching a string in the whole database?

---

_[View the full topic](https://meta.discourse.org/t/invalid-url-for-markdown-it-bundle/248463)._
