Skip to content

Commit 845a281

Browse files
authored
Add redirects for moved rsc pages (#6800)
1 parent bc1020a commit 845a281

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

vercel.json

+15
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,21 @@
158158
"source": "/link/new-jsx-transform",
159159
"destination": "https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html",
160160
"permanent": false
161+
},
162+
{
163+
"source": "/reference/react/directives",
164+
"destination": "/reference/rsc/directives",
165+
"permanent": true
166+
},
167+
{
168+
"source": "/reference/react/use-client",
169+
"destination": "/reference/rsc/use-client",
170+
"permanent": true
171+
},
172+
{
173+
"source": "/reference/react/use-server",
174+
"destination": "/reference/rsc/use-server",
175+
"permanent": true
161176
}
162177
],
163178
"headers": [

0 commit comments

Comments
 (0)