Skip to content

Commit b0fe11e

Browse files
committed
fix redirect
1 parent bf73fc4 commit b0fe11e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

cnwebsite/src/pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function HomeCallToAction() {
9999
</ActionButton>
100100
<ActionButton
101101
type="secondary"
102-
href={useBaseUrl('docs/environment-setup')}
102+
href={useBaseUrl('docs/set-up-your-environment')}
103103
target="_self">
104104
搭建环境
105105
</ActionButton>

cnwebsite/static/_redirects

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Redirects from what the browser requests to what we serve
22

33
# Renamed pages
4+
/docs/environment-setup /docs/set-up-your-environment
45
/docs/android-setup /docs/getting-started
56
/docs/building-for-apple-tv /docs/building-for-tv
67
/docs/building-from-source /contributing/how-to-build-from-source

0 commit comments

Comments
 (0)