# Defining DISCOURSE\_S3\_CDN\_URL links to assets in S3 CDN URL

**URL:** <https://meta.discourse.org/t/defining-discourse-s3-cdn-url-links-to-assets-in-s3-cdn-url/116798>\
**Category:** Product Support\
**Created:** [03.Май.2019 21:44:07 UTC](https://meta.discourse.org/t/defining-discourse-s3-cdn-url-links-to-assets-in-s3-cdn-url/116798 "2019-05-03T21:44:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [03.Май.2019 21:50:48 UTC](https://meta.discourse.org/t/defining-discourse-s3-cdn-url-links-to-assets-in-s3-cdn-url/116798/2 "2019-05-03T21:50:48Z")

</div>

> [@pfaffman](#):
>
> Is there an `after_bundling_assets` stanza that I could add that to?

You can use `after_assets_precompile` as the hook for that rake task.

---

_[View the full topic](https://meta.discourse.org/t/defining-discourse-s3-cdn-url-links-to-assets-in-s3-cdn-url/116798)._
