S3 CDN URL ignored when uploading into posts

As per the recent change, we’re now getting the uploaded file’s URL from the initial upload request itself. Previously, we received it from the /uploads/lookup-urls.json endpoint. This commit should fix the issue.

https://github.com/discourse/discourse/commit/f11363d446c4c6a01a59d192f5f078c813ed1919

5 Likes