# 自定义表情符号在少数页面上不使用 CDN 来存储 S3 资产

**URL:** <https://meta.discourse.org/t/custom-emoji-dont-use-cdn-for-s3-stored-assets-in-a-few-pages/159787>\
**Category:** Support\
**Created:** [2020年八月4日 14:34 UTC](https://meta.discourse.org/t/custom-emoji-dont-use-cdn-for-s3-stored-assets-in-a-few-pages/159787 "2020-08-04T14:34:06Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Boost](https://avatars.discourse-cdn.com/v4/letter/b/8e8cbc/32.png) [@Boost](https://meta.discourse.org/u/Boost)\
**Post date:** [2020年八月4日 16:58 UTC](https://meta.discourse.org/t/custom-emoji-dont-use-cdn-for-s3-stored-assets-in-a-few-pages/159787/7 "2020-08-04T16:58:37Z")

</div>

> [@Falco](#):
>
> 这与 [上传到帖子时忽略 S3 CDN 网址](https://meta.discourse.org/t/s3-cdn-url-ignored-when-uploading-into-posts/54898) 有关。已添加到原始主题中。

确实如此。如果我实际发布帖子，表情符号就能正确显示。

> [@Falco](#):
>
> 请在插件主题中报告此问题，因为它是第三方插件。

> [@Discourse Retort](https://meta.discourse.org/t/retort-a-reaction-style-plugin-for-discourse/35903/351?u=boost):
>
> I found a problem when using S3 stored assets and a CDN. Custom emojis don’t load correctly. Instead of using the CDN URL they incorrectly directly point to the S3 storage bucket. [Custom emoji don't use CDN for S3 stored assets in a few pages](https://meta.discourse.org/t/custom-emoji-dont-use-cdn-for-s3-stored-assets-in-a-few-pages/159787/5)

> [@Falco](#):
>
> 这确实有效，但影响有限，因为这是一个仅限管理员的页面。

如果对 Retort 插件的修复方式与修复管理区域的方式类似，我或许可以尝试修复该插件，因为在我的 Discourse 实例中，自定义反应表情符号的使用非常广泛。

---

_[View the full topic](https://meta.discourse.org/t/custom-emoji-dont-use-cdn-for-s3-stored-assets-in-a-few-pages/159787)._
