Skip to content

Commit 2aa7670

Browse files
authored
docs: fix typo (vuejs#3490)
1 parent 3a8df2e commit 2aa7670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/zh/guide/essentials/history-mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ rewrite {
126126

127127
## 警告
128128

129-
给个警告,因为这么做以后,你的服务器就不再返回 404 错误页面,因为对于所有路径都会返回 `index.html` 文件。为了避免这种情况,你应该在 Vue 应用里面覆盖所有的路由情况,然后在给出一个 404 页面。
129+
给个警告,因为这么做以后,你的服务器就不再返回 404 错误页面,因为对于所有路径都会返回 `index.html` 文件。为了避免这种情况,你应该在 Vue 应用里面覆盖所有的路由情况,然后再给出一个 404 页面。
130130

131131
``` js
132132
const router = new VueRouter({

0 commit comments

Comments
 (0)