Skip to content

Commit 3def603

Browse files
authored
fix: typo in Chinese routing guide (expressjs#2077)
1 parent 9066b99 commit 3def603

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zh-cn/guide/routing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Query strings are not part of the route path.
9595

9696
### 以下是基于字符串的路由路径的一些示例。
9797

98-
此路由路径将请求与 `/random.text` 匹配。
98+
此路由路径将请求与 `/` 匹配。
9999

100100
```js
101101
app.get('/', (req, res) => {
@@ -111,7 +111,7 @@ app.get('/about', (req, res) => {
111111
})
112112
```
113113

114-
此路由路径将请求与根路由 `/` 匹配。
114+
此路由路径将请求与 `/random.text` 匹配。
115115

116116
```js
117117
app.get('/random.text', (req, res) => {

0 commit comments

Comments
 (0)