Skip to content

Commit

Permalink
Revert "Add redirects for /react sub-site (#400)"
Browse files Browse the repository at this point in the history
This reverts commit eed8873.
  • Loading branch information
joshblack authored Aug 13, 2024
1 parent eed8873 commit ff22907
Showing 1 changed file with 5 additions and 56 deletions.
61 changes: 5 additions & 56 deletions redirects.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,62 +336,6 @@
"destination": "/guides/status"
},

{
"name": "Redirect react root",
"match": "^react/$",
"destination": "/"
},
{
"name": "React redirect getting started",
"match": "^react/getting-started",
"destination": "/guides/react"
},
{
"name": "React redirect theming",
"match": "^react/theming",
"destination": "/guides/react/theming"
},
{
"name": "React redirect theme reference",
"match": "^react/theme-reference",
"destination": "/guides/react/theme-reference"
},
{
"name": "React redirect linting",
"match": "^react/linting",
"destination": "/guides/react/linting"
},
{
"name": "React redirect system props",
"match": "^react/system-props",
"destination": "/guides/react/system-props"
},
{
"name": "React redirect core concepts",
"match": "^react/core-concepts",
"destination": "/guides/react/core-concepts"
},
{
"name": "React redirect philosophy",
"match": "^react/philosophy",
"destination": "/guides/react/philosophy"
},
{
"name": "React redirect overriding styles",
"match": "^react/overriding-styles",
"destination": "/guides/react/overriding-styles"
},
{
"name": "React redirect status",
"match": "^react/status",
"destination": "/guides/status"
},
{
"name": "React redirect useSafeTimeout hook",
"match": "^react/hooks/useSafeTimeout",
"destination": "/guides/react/hooks/use-safe-timeout"
},

{
"name": "React docs for ActionList",
"match": "^react/ActionList",
Expand Down Expand Up @@ -960,6 +904,11 @@
"match": "^prism/(.*)",
"destination": "https://primer.github.io/prism/{R:1}"
},
{
"name": "React reverse-proxy",
"match": "^react/(.*)",
"destination": "https://primer.github.io/react/{R:1}"
},
{
"name": "CSS reverse-proxy",
"match": "^css/storybook/(.*)",
Expand Down

0 comments on commit ff22907

Please sign in to comment.