Skip to content

Commit

Permalink
updated prod redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Logan committed Nov 13, 2024
1 parent f6fa9b0 commit 22b6aa0
Showing 1 changed file with 98 additions and 94 deletions.
192 changes: 98 additions & 94 deletions redirects.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@
"target": "/javascript/tools/cli/plugins/",
"status": "301"
},
{
"source": "/<*>",
"target": "/404/index.html",
"status": "404-200"
},
{ "source": "/<*>", "target": "/404/index.html", "status": "404-200" },
{
"source": "/cli/usage/tags/",
"target": "/javascript/tools/cli/project/tags/",
Expand Down Expand Up @@ -614,11 +610,7 @@
"target": "/javascript/tools/cli-legacy/versioned-directive/",
"status": "301"
},
{
"source": "/cli/",
"target": "/javascript/tools/cli/",
"status": "301"
},
{ "source": "/cli/", "target": "/javascript/tools/cli/", "status": "301" },
{
"source": "/cli/auth/admin/",
"target": "/javascript/build-a-backend/auth/admin-actions/",
Expand Down Expand Up @@ -7004,11 +6996,7 @@
"target": "/react/how-amplify-works/",
"status": "301"
},
{
"source": "/start/",
"target": "/react/start",
"status": "301"
},
{ "source": "/start/", "target": "/react/start", "status": "301" },
{
"source": "/guides/<*>",
"target": "/react/build-a-backend/",
Expand Down Expand Up @@ -7579,11 +7567,7 @@
"target": "/react/sdk/info/app-uninstall",
"status": "301"
},
{
"source": "/[platform]/start",
"target": "/react/start",
"status": "301"
},
{ "source": "/[platform]/start", "target": "/react/start", "status": "301" },
{
"source": "/[platform]/start/getting-started/data-model",
"target": "/react/start/getting-started/data-model",
Expand Down Expand Up @@ -7629,11 +7613,7 @@
"target": "/react/tools/console/storage",
"status": "301"
},
{
"source": "/Amazon",
"target": "/",
"status": "301"
},
{ "source": "/Amazon", "target": "/", "status": "301" },
{
"source": "/android/build-ui/<*>",
"target": "/android/build-ui/",
Expand Down Expand Up @@ -7734,11 +7714,7 @@
"target": "/react/tools/cli/project/override-iam/",
"status": "301"
},
{
"source": "/build-ui/",
"target": "/react/build-ui/",
"status": "301"
},
{ "source": "/build-ui/", "target": "/react/build-ui/", "status": "301" },
{
"source": "/cli-legacy/graphql-t",
"target": "/react/tools/cli-legacy/",
Expand Down Expand Up @@ -7769,11 +7745,7 @@
"target": "/flutter/build-a-backend/",
"status": "301"
},
{
"source": "/flutter/sdk/<*>",
"target": "/flutter/",
"status": "301"
},
{ "source": "/flutter/sdk/<*>", "target": "/flutter/", "status": "301" },
{
"source": "/guides/",
"target": "/react/build-a-backend/",
Expand Down Expand Up @@ -8294,11 +8266,7 @@
"target": "/gen1/react-native/prev/build-a-backend/storage/",
"status": "301"
},
{
"source": "/lib/",
"target": "/react/build-a-backend/",
"status": "301"
},
{ "source": "/lib/", "target": "/react/build-a-backend/", "status": "301" },
{
"source": "/lib/analytics/enable-disable/",
"target": "/react/build-a-backend/more-features/analytics/enable-disable/",
Expand Down Expand Up @@ -8669,11 +8637,7 @@
"target": "/react/build-a-backend/utilities/service-worker/",
"status": "301"
},
{
"source": "/nextjs/sdk/",
"target": "/nextjs/",
"status": "301"
},
{ "source": "/nextjs/sdk/", "target": "/nextjs/", "status": "301" },
{
"source": "/react-native/build-a-backend/more-features/predictions/[}",
"target": "/react-native/build-a-backend/more-features/",
Expand All @@ -8684,21 +8648,9 @@
"target": "/react-native/start/getting-started/",
"status": "301"
},
{
"source": "/react/sdk/",
"target": "/react/",
"status": "301"
},
{
"source": "/sdk/",
"target": "/swift/sdk/",
"status": "301"
},
{
"source": "/sdk/api/",
"target": "/swift/sdk/api/",
"status": "301"
},
{ "source": "/react/sdk/", "target": "/react/", "status": "301" },
{ "source": "/sdk/", "target": "/swift/sdk/", "status": "301" },
{ "source": "/sdk/api/", "target": "/swift/sdk/api/", "status": "301" },
{
"source": "/sdk/auth/custom-auth-flow/q/platform/next/",
"target": "/nextjs/",
Expand Down Expand Up @@ -9699,16 +9651,8 @@
"target": "/react/reference/",
"status": "301"
},
{
"source": "/gen2/start/",
"target": "/react/start/",
"status": "301"
},
{
"source": "/gen2/",
"target": "/",
"status": "301"
},
{ "source": "/gen2/start/", "target": "/react/start/", "status": "301" },
{ "source": "/gen2/", "target": "/", "status": "301" },
{
"source": "/gen1/gen2/deploy-and-host/hosting/",
"target": "/react/deploy-and-host/hosting/",
Expand Down Expand Up @@ -9989,11 +9933,7 @@
"target": "/gen1/react/build-ui/formbuilder/overrides/",
"status": "301"
},
{
"source": "/react/prev/",
"target": "/gen1/react/prev/",
"status": "301"
},
{ "source": "/react/prev/", "target": "/gen1/react/prev/", "status": "301" },
{
"source": "/react/prev/build-a-backend/troubleshooting/upgrade-amplify-packages/react/prev/",
"target": "/gen1/react/prev/build-a-backend/troubleshooting/upgrade-amplify-packages/react/prev/",
Expand All @@ -10019,11 +9959,7 @@
"target": "/gen1/swift/prev/start/project-setup/create-application/",
"status": "301"
},
{
"source": "/vue/prev/",
"target": "/gen1/vue/prev/",
"status": "301"
},
{ "source": "/vue/prev/", "target": "/gen1/vue/prev/", "status": "301" },
{
"source": "/vue/prev/start/project-setup/create-application/",
"target": "/gen1/vue/prev/start/project-setup/create-application/",
Expand Down Expand Up @@ -10139,11 +10075,7 @@
"target": "/react/start/quickstart/",
"status": "301"
},
{
"source": "/ios/",
"target": "/swift/",
"status": "301"
},
{ "source": "/ios/", "target": "/swift/", "status": "301" },
{
"source": "/<platform>/build-a-backend/data/custom-business-logic/connect-external-ddb-table/",
"target": "/<platform>/build-a-backend/data/connect-to-existing-data-sources/connect-external-ddb-table/",
Expand Down Expand Up @@ -10184,11 +10116,7 @@
"target": "/gen1/nextjs/prev/build-a-backend/auth/",
"status": "301"
},
{
"source": "/gen1/js/",
"target": "/gen1/javascript",
"status": "301"
},
{ "source": "/gen1/js/", "target": "/gen1/javascript", "status": "301" },
{
"source": "/gen1/flutter/prev/build-a-backend/graphqlapi/data-modeling/",
"target": "/gen1/flutter/tools/console/data/data-model/",
Expand All @@ -10214,14 +10142,90 @@
"target": "/gen1/react/tools/cli/commands/",
"status": "301"
},
{
"source": "/gen1/flutter/build-a-backend/storage/move/",
{
"source": "/<platform>/build-a-backend/data/custom-business-logic/connect-external-ddb-table/",
"target": "/<platform>/build-a-backend/data/connect-to-existing-data-sources/connect-external-ddb-table/",
"status": "301"
},
{
"source": "/gen1/REACT/build-a-backend/graphqlapi/customize-authz-modes/",
"target": "/gen1/react/build-a-backend/graphqlapi/customize-authorization-rules/",
"status": "301"
},
{
"source": "/sdk/push-notifications/getting-started/",
"target": "/gen1/swift/sdk/push-notifications/getting-started/",
"status": "301"
},
{
"source": "/lib/troubleshooting/upgrading/q/platform/flutter/",
"target": "/gen1/flutter/build-a-backend/troubleshooting/upgrade-amplify-packages/",
"status": "301"
},
{
"source": "/start/getting-started/integrate/q/integration/react-native/",
"target": "/gen1/react-native/build-a-backend/more-features/datastore/set-up-datastore/",
"status": "301"
},
{
"source": "/gen1/react/build-a-backend/auth/connect-your-frontend/sign-up/",
"target": "/gen1/react/build-a-backend/auth/enable-sign-up/",
"status": "301"
},
{
"source": "/gen1/flutter/build-a-backend/storage/move/",
"target": "/gen1/flutter/prev/build-a-backend/storage/move/",
"status": "301"
},
},
{
"source": "/ai/",
"target": "/react/ai/set-up-ai/",
"status": "302"
},
{
"source": "/android/start/connect-existing-aws-resources",
"target": "/android/start/connect-to-aws-resources",
"status": "301"
},
{
"source": "/angular/start/connect-existing-aws-resources",
"target": "/angular/start/connect-to-aws-resources",
"status": "301"
},
{
"source": "/flutter/start/connect-existing-aws-resources",
"target": "/flutter/start/connect-to-aws-resources",
"status": "301"
},
{
"source": "/javascript/start/connect-existing-aws-resources",
"target": "/javascript/start/connect-to-aws-resources",
"status": "301"
},
{
"source": "/nextjs/start/connect-existing-aws-resources",
"target": "/nextjs/start/connect-to-aws-resources",
"status": "301"
},
{
"source": "/react/start/connect-existing-aws-resources",
"target": "/react/start/connect-to-aws-resources",
"status": "301"
},
{
"source": "/react-native/start/connect-existing-aws-resources",
"target": "/react-native/start/connect-to-aws-resources",
"status": "301"
},
{
"source": "/swift/start/connect-existing-aws-resources",
"target": "/swift/start/connect-to-aws-resources",
"status": "301"
},
{
"source": "/vue/start/connect-existing-aws-resources",
"target": "/vue/start/connect-to-aws-resources",
"status": "301"
}
]
]

0 comments on commit 22b6aa0

Please sign in to comment.