# 404 页面未在应用中显示控件

**URL:** <https://meta.discourse.org/t/404-page-doesn-t-show-controls-in-app/190657>\
**Category:** Support\
**Tags:** discourse-hub\
**Created:** [2021 年5 月 17 日 12:18 UTC](https://meta.discourse.org/t/404-page-doesn-t-show-controls-in-app/190657 "2021-05-17T12:18:03Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

作者： ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)\
发布日期： [2021 年5 月 18 日 17:55 UTC](https://meta.discourse.org/t/404-page-doesn-t-show-controls-in-app/190657/12 "2021-05-18T17:55:03Z")

</div>

不，FAQ 仍然是 Ember 应用的一部分。上文提到的“静态页面”，是指完全不加载 Ember 应用的页面。这类页面并不多。

我进行了一些快速测试，发现只有当我在浏览器中手动输入错误的 URL 时，才会遇到非 Ember 的 404 页面。如果点击 Discourse 内部指向 404 的链接，渲染出的页面来自 Ember，因此在 DiscourseHub 中会包含底部的导航控件。我通过给自己发送一条包含不存在 URL 的私信来验证了这一点。

在非 Ember 的 404 页面上添加这些控件并不简单，因为相关代码依赖于 Ember 和设备检测，因此我们无法直接将其复制粘贴过去。

当您遇到这个 404 错误时，可以点击一下徽标吗？这应该会将您带回 Ember 应用一侧，之后一切应该都能正常工作……

---

_[View the full topic](https://meta.discourse.org/t/404-page-doesn-t-show-controls-in-app/190657)._
