Skip to content

Commit a688ede

Browse files
authored
updated prod redirects (aws-amplify#8089)
1 parent f6fa9b0 commit a688ede

File tree

1 file changed

+97
-93
lines changed

1 file changed

+97
-93
lines changed

redirects.json

Lines changed: 97 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@
1919
"target": "/javascript/tools/cli/plugins/",
2020
"status": "301"
2121
},
22-
{
23-
"source": "/<*>",
24-
"target": "/404/index.html",
25-
"status": "404-200"
26-
},
22+
{ "source": "/<*>", "target": "/404/index.html", "status": "404-200" },
2723
{
2824
"source": "/cli/usage/tags/",
2925
"target": "/javascript/tools/cli/project/tags/",
@@ -614,11 +610,7 @@
614610
"target": "/javascript/tools/cli-legacy/versioned-directive/",
615611
"status": "301"
616612
},
617-
{
618-
"source": "/cli/",
619-
"target": "/javascript/tools/cli/",
620-
"status": "301"
621-
},
613+
{ "source": "/cli/", "target": "/javascript/tools/cli/", "status": "301" },
622614
{
623615
"source": "/cli/auth/admin/",
624616
"target": "/javascript/build-a-backend/auth/admin-actions/",
@@ -7004,11 +6996,7 @@
70046996
"target": "/react/how-amplify-works/",
70056997
"status": "301"
70066998
},
7007-
{
7008-
"source": "/start/",
7009-
"target": "/react/start",
7010-
"status": "301"
7011-
},
6999+
{ "source": "/start/", "target": "/react/start", "status": "301" },
70127000
{
70137001
"source": "/guides/<*>",
70147002
"target": "/react/build-a-backend/",
@@ -7579,11 +7567,7 @@
75797567
"target": "/react/sdk/info/app-uninstall",
75807568
"status": "301"
75817569
},
7582-
{
7583-
"source": "/[platform]/start",
7584-
"target": "/react/start",
7585-
"status": "301"
7586-
},
7570+
{ "source": "/[platform]/start", "target": "/react/start", "status": "301" },
75877571
{
75887572
"source": "/[platform]/start/getting-started/data-model",
75897573
"target": "/react/start/getting-started/data-model",
@@ -7629,11 +7613,7 @@
76297613
"target": "/react/tools/console/storage",
76307614
"status": "301"
76317615
},
7632-
{
7633-
"source": "/Amazon",
7634-
"target": "/",
7635-
"status": "301"
7636-
},
7616+
{ "source": "/Amazon", "target": "/", "status": "301" },
76377617
{
76387618
"source": "/android/build-ui/<*>",
76397619
"target": "/android/build-ui/",
@@ -7734,11 +7714,7 @@
77347714
"target": "/react/tools/cli/project/override-iam/",
77357715
"status": "301"
77367716
},
7737-
{
7738-
"source": "/build-ui/",
7739-
"target": "/react/build-ui/",
7740-
"status": "301"
7741-
},
7717+
{ "source": "/build-ui/", "target": "/react/build-ui/", "status": "301" },
77427718
{
77437719
"source": "/cli-legacy/graphql-t",
77447720
"target": "/react/tools/cli-legacy/",
@@ -7769,11 +7745,7 @@
77697745
"target": "/flutter/build-a-backend/",
77707746
"status": "301"
77717747
},
7772-
{
7773-
"source": "/flutter/sdk/<*>",
7774-
"target": "/flutter/",
7775-
"status": "301"
7776-
},
7748+
{ "source": "/flutter/sdk/<*>", "target": "/flutter/", "status": "301" },
77777749
{
77787750
"source": "/guides/",
77797751
"target": "/react/build-a-backend/",
@@ -8294,11 +8266,7 @@
82948266
"target": "/gen1/react-native/prev/build-a-backend/storage/",
82958267
"status": "301"
82968268
},
8297-
{
8298-
"source": "/lib/",
8299-
"target": "/react/build-a-backend/",
8300-
"status": "301"
8301-
},
8269+
{ "source": "/lib/", "target": "/react/build-a-backend/", "status": "301" },
83028270
{
83038271
"source": "/lib/analytics/enable-disable/",
83048272
"target": "/react/build-a-backend/more-features/analytics/enable-disable/",
@@ -8669,11 +8637,7 @@
86698637
"target": "/react/build-a-backend/utilities/service-worker/",
86708638
"status": "301"
86718639
},
8672-
{
8673-
"source": "/nextjs/sdk/",
8674-
"target": "/nextjs/",
8675-
"status": "301"
8676-
},
8640+
{ "source": "/nextjs/sdk/", "target": "/nextjs/", "status": "301" },
86778641
{
86788642
"source": "/react-native/build-a-backend/more-features/predictions/[}",
86798643
"target": "/react-native/build-a-backend/more-features/",
@@ -8684,21 +8648,9 @@
86848648
"target": "/react-native/start/getting-started/",
86858649
"status": "301"
86868650
},
8687-
{
8688-
"source": "/react/sdk/",
8689-
"target": "/react/",
8690-
"status": "301"
8691-
},
8692-
{
8693-
"source": "/sdk/",
8694-
"target": "/swift/sdk/",
8695-
"status": "301"
8696-
},
8697-
{
8698-
"source": "/sdk/api/",
8699-
"target": "/swift/sdk/api/",
8700-
"status": "301"
8701-
},
8651+
{ "source": "/react/sdk/", "target": "/react/", "status": "301" },
8652+
{ "source": "/sdk/", "target": "/swift/sdk/", "status": "301" },
8653+
{ "source": "/sdk/api/", "target": "/swift/sdk/api/", "status": "301" },
87028654
{
87038655
"source": "/sdk/auth/custom-auth-flow/q/platform/next/",
87048656
"target": "/nextjs/",
@@ -9699,16 +9651,8 @@
96999651
"target": "/react/reference/",
97009652
"status": "301"
97019653
},
9702-
{
9703-
"source": "/gen2/start/",
9704-
"target": "/react/start/",
9705-
"status": "301"
9706-
},
9707-
{
9708-
"source": "/gen2/",
9709-
"target": "/",
9710-
"status": "301"
9711-
},
9654+
{ "source": "/gen2/start/", "target": "/react/start/", "status": "301" },
9655+
{ "source": "/gen2/", "target": "/", "status": "301" },
97129656
{
97139657
"source": "/gen1/gen2/deploy-and-host/hosting/",
97149658
"target": "/react/deploy-and-host/hosting/",
@@ -9989,11 +9933,7 @@
99899933
"target": "/gen1/react/build-ui/formbuilder/overrides/",
99909934
"status": "301"
99919935
},
9992-
{
9993-
"source": "/react/prev/",
9994-
"target": "/gen1/react/prev/",
9995-
"status": "301"
9996-
},
9936+
{ "source": "/react/prev/", "target": "/gen1/react/prev/", "status": "301" },
99979937
{
99989938
"source": "/react/prev/build-a-backend/troubleshooting/upgrade-amplify-packages/react/prev/",
99999939
"target": "/gen1/react/prev/build-a-backend/troubleshooting/upgrade-amplify-packages/react/prev/",
@@ -10019,11 +9959,7 @@
100199959
"target": "/gen1/swift/prev/start/project-setup/create-application/",
100209960
"status": "301"
100219961
},
10022-
{
10023-
"source": "/vue/prev/",
10024-
"target": "/gen1/vue/prev/",
10025-
"status": "301"
10026-
},
9962+
{ "source": "/vue/prev/", "target": "/gen1/vue/prev/", "status": "301" },
100279963
{
100289964
"source": "/vue/prev/start/project-setup/create-application/",
100299965
"target": "/gen1/vue/prev/start/project-setup/create-application/",
@@ -10139,11 +10075,7 @@
1013910075
"target": "/react/start/quickstart/",
1014010076
"status": "301"
1014110077
},
10142-
{
10143-
"source": "/ios/",
10144-
"target": "/swift/",
10145-
"status": "301"
10146-
},
10078+
{ "source": "/ios/", "target": "/swift/", "status": "301" },
1014710079
{
1014810080
"source": "/<platform>/build-a-backend/data/custom-business-logic/connect-external-ddb-table/",
1014910081
"target": "/<platform>/build-a-backend/data/connect-to-existing-data-sources/connect-external-ddb-table/",
@@ -10184,11 +10116,7 @@
1018410116
"target": "/gen1/nextjs/prev/build-a-backend/auth/",
1018510117
"status": "301"
1018610118
},
10187-
{
10188-
"source": "/gen1/js/",
10189-
"target": "/gen1/javascript",
10190-
"status": "301"
10191-
},
10119+
{ "source": "/gen1/js/", "target": "/gen1/javascript", "status": "301" },
1019210120
{
1019310121
"source": "/gen1/flutter/prev/build-a-backend/graphqlapi/data-modeling/",
1019410122
"target": "/gen1/flutter/tools/console/data/data-model/",
@@ -10214,14 +10142,90 @@
1021410142
"target": "/gen1/react/tools/cli/commands/",
1021510143
"status": "301"
1021610144
},
10217-
{
10218-
"source": "/gen1/flutter/build-a-backend/storage/move/",
10145+
{
10146+
"source": "/<platform>/build-a-backend/data/custom-business-logic/connect-external-ddb-table/",
10147+
"target": "/<platform>/build-a-backend/data/connect-to-existing-data-sources/connect-external-ddb-table/",
10148+
"status": "301"
10149+
},
10150+
{
10151+
"source": "/gen1/REACT/build-a-backend/graphqlapi/customize-authz-modes/",
10152+
"target": "/gen1/react/build-a-backend/graphqlapi/customize-authorization-rules/",
10153+
"status": "301"
10154+
},
10155+
{
10156+
"source": "/sdk/push-notifications/getting-started/",
10157+
"target": "/gen1/swift/sdk/push-notifications/getting-started/",
10158+
"status": "301"
10159+
},
10160+
{
10161+
"source": "/lib/troubleshooting/upgrading/q/platform/flutter/",
10162+
"target": "/gen1/flutter/build-a-backend/troubleshooting/upgrade-amplify-packages/",
10163+
"status": "301"
10164+
},
10165+
{
10166+
"source": "/start/getting-started/integrate/q/integration/react-native/",
10167+
"target": "/gen1/react-native/build-a-backend/more-features/datastore/set-up-datastore/",
10168+
"status": "301"
10169+
},
10170+
{
10171+
"source": "/gen1/react/build-a-backend/auth/connect-your-frontend/sign-up/",
10172+
"target": "/gen1/react/build-a-backend/auth/enable-sign-up/",
10173+
"status": "301"
10174+
},
10175+
{
10176+
"source": "/gen1/flutter/build-a-backend/storage/move/",
1021910177
"target": "/gen1/flutter/prev/build-a-backend/storage/move/",
1022010178
"status": "301"
10221-
},
10179+
},
1022210180
{
1022310181
"source": "/ai/",
1022410182
"target": "/react/ai/set-up-ai/",
1022510183
"status": "302"
10184+
},
10185+
{
10186+
"source": "/android/start/connect-existing-aws-resources",
10187+
"target": "/android/start/connect-to-aws-resources",
10188+
"status": "301"
10189+
},
10190+
{
10191+
"source": "/angular/start/connect-existing-aws-resources",
10192+
"target": "/angular/start/connect-to-aws-resources",
10193+
"status": "301"
10194+
},
10195+
{
10196+
"source": "/flutter/start/connect-existing-aws-resources",
10197+
"target": "/flutter/start/connect-to-aws-resources",
10198+
"status": "301"
10199+
},
10200+
{
10201+
"source": "/javascript/start/connect-existing-aws-resources",
10202+
"target": "/javascript/start/connect-to-aws-resources",
10203+
"status": "301"
10204+
},
10205+
{
10206+
"source": "/nextjs/start/connect-existing-aws-resources",
10207+
"target": "/nextjs/start/connect-to-aws-resources",
10208+
"status": "301"
10209+
},
10210+
{
10211+
"source": "/react/start/connect-existing-aws-resources",
10212+
"target": "/react/start/connect-to-aws-resources",
10213+
"status": "301"
10214+
},
10215+
{
10216+
"source": "/react-native/start/connect-existing-aws-resources",
10217+
"target": "/react-native/start/connect-to-aws-resources",
10218+
"status": "301"
10219+
},
10220+
{
10221+
"source": "/swift/start/connect-existing-aws-resources",
10222+
"target": "/swift/start/connect-to-aws-resources",
10223+
"status": "301"
10224+
},
10225+
{
10226+
"source": "/vue/start/connect-existing-aws-resources",
10227+
"target": "/vue/start/connect-to-aws-resources",
10228+
"status": "301"
1022610229
}
1022710230
]
10231+

0 commit comments

Comments
 (0)