]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs(zh): remove english sentence that has translated (#842)
authorZen <kefengong@gmail.com>
Tue, 23 Mar 2021 14:03:23 +0000 (22:03 +0800)
committerGitHub <noreply@github.com>
Tue, 23 Mar 2021 14:03:23 +0000 (15:03 +0100)
docs/zh/guide/essentials/history-mode.md

index 69cf416561bf0dda229d795c3bb1a48f10536919..f65838a9aa1e60113c7ccc0a03d09a9353a9184f 100644 (file)
@@ -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` 相同的页面。漂亮依旧!
 
 ## 服务器配置示例