# S3 CDN URL ignored when uploading into posts

**URL:** <https://meta.discourse.org/t/s3-cdn-url-ignored-when-uploading-into-posts/54898>\
**Category:** Bug\
**Created:** [Décembre 28, 2016, 6:31 UTC](https://meta.discourse.org/t/s3-cdn-url-ignored-when-uploading-into-posts/54898 "2016-12-28T18:31:44Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)\
**Post date:** [Juillet 2, 2020, 1:11 UTC](https://meta.discourse.org/t/s3-cdn-url-ignored-when-uploading-into-posts/54898/14 "2020-07-02T01:11:53Z")

</div>

Conformément au récent changement, nous récupérons désormais l’URL du fichier téléchargé directement à partir de la requête de téléchargement initiale. Auparavant, nous la recevions via le point de terminaison `/uploads/lookup-urls.json`. Ce commit devrait résoudre le problème.

> <https://github.com/discourse/discourse/commit/f11363d446c4c6a01a59d192f5f078c813ed1919>
>
> Currently it is displaying non-cdn urls in the composer preview.

---

_[View the full topic](https://meta.discourse.org/t/s3-cdn-url-ignored-when-uploading-into-posts/54898)._
