From: Zen Date: Tue, 23 Mar 2021 14:03:23 +0000 (+0800) Subject: docs(zh): remove english sentence that has translated (#842) X-Git-Tag: v4.0.6~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=178abbc75e732fd0d3c6dc4affdb046db2388878;p=thirdparty%2Fvuejs%2Frouter.git docs(zh): remove english sentence that has translated (#842) --- diff --git a/docs/zh/guide/essentials/history-mode.md b/docs/zh/guide/essentials/history-mode.md index 69cf4165..f65838a9 100644 --- a/docs/zh/guide/essentials/history-mode.md +++ b/docs/zh/guide/essentials/history-mode.md @@ -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` 相同的页面。漂亮依旧! ## 服务器配置示例