Skip to content

Commit ea69e6a

Browse files
committed
翻译优化
1 parent 149c46a commit ea69e6a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/guides/advanced/ServerRendering.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ import { match, RoutingContext } from 'react-router'
1919
import routes from './routes'
2020

2121
serve((req, res) => {
22-
// 注意!这里的 req.url 应该是从初始请求中获得的
23-
// 完整的 URL 路径,包括查询字符串。
22+
// 注意!这里的 req.url 必须是原始请求的全路径URL,包括参数字段
2423
match({ routes, location: req.url }, (error, redirectLocation, renderProps) => {
2524
if (error) {
2625
res.send(500, error.message)

0 commit comments

Comments
 (0)