File tree Expand file tree Collapse file tree 2 files changed +17
-12
lines changed Expand file tree Collapse file tree 2 files changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -322,17 +322,12 @@ const config = {
322322 } ,
323323 } ;
324324 } ,
325- [
326- '@docusaurus/plugin-client-redirects' ,
327- {
328- redirects : process . env . VERCEL_ENV === 'preview' ? [
329- {
330- from : '/' ,
331- to : '/docs' ,
332- } ,
333- ] : [ ] ,
334- } ,
335- ] ,
325+ // [
326+ // N.B - If you need to redirect a page please do so from vercel.json
327+ // '@docusaurus/plugin-client-redirects',
328+ // {
329+ // },
330+ // ],
336331 [
337332 "vercel-analytics" ,
338333 {
@@ -383,4 +378,4 @@ const config = {
383378
384379} ;
385380
386- module . exports = config ;
381+ module . exports = config ;
Original file line number Diff line number Diff line change 1111 "silent" : true
1212 },
1313 "redirects" : [
14+ {
15+ "source" : " /" ,
16+ "destination" : " /docs" ,
17+ "has" : [
18+ {
19+ "type" : " host" ,
20+ "value" : " .*\\ .vercel\\ .app$"
21+ }
22+ ]
23+ },
1424 {
1525 "source" : " /docs/en/docs/en/cloud/manage/service-types" ,
1626 "destination" : " /docs/cloud/manage/cloud-tiers" ,
You can’t perform that action at this time.
0 commit comments