Skip to content

Commit

Permalink
docs(zh): remove english sentence that has translated (#842)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin-Gong committed Mar 23, 2021
1 parent 7b8693b commit 178abbc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/zh/guide/essentials/history-mode.md
Expand Up @@ -38,7 +38,6 @@ const router = createRouter({

不过,问题来了。由于我们的应用是一个单页的客户端应用,如果没有适当的服务器配置,用户在浏览器中直接访问 `https://example.com/user/id`,就会得到一个 404 错误。这就丑了。

Not to worry: To fix the issue, all you need to do is add a simple catch-all fallback route to your server. If the URL doesn't match any static assets, it should serve the same `index.html` page that your app lives in. Beautiful, again!
不用担心:要解决这个问题,你需要做的就是在你的服务器上添加一个简单的回退路由。如果 URL 不匹配任何静态资源,它应提供与你的应用程序中的 `index.html` 相同的页面。漂亮依旧!

## 服务器配置示例
Expand Down

0 comments on commit 178abbc

Please sign in to comment.