Skip to content

Commit 16b2991

Browse files
committed
fix redirects
1 parent ed350f7 commit 16b2991

File tree

1 file changed

+10
-200
lines changed

1 file changed

+10
-200
lines changed

vercel.json

+10-200
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@
77
"destination": "/:path",
88
"permanent": true
99
},
10-
{
11-
"source": "/cadence",
12-
"destination": "/cadence/intro",
13-
"permanent": true
14-
},
1510
{
1611
"source": "/build",
1712
"destination": "/build/flow",
@@ -22,11 +17,6 @@
2217
"destination": "/concepts/start-here",
2318
"permanent": true
2419
},
25-
{
26-
"source": "/cadence/msg-sender",
27-
"destination": "/cadence/solidity-to-cadence#msgsender-considered-harmful",
28-
"permanent": true
29-
},
3020
{
3121
"source": "/concepts/core-contracts/nft-standard",
3222
"destination": "/references/core-contracts/flow-nft",
@@ -277,81 +267,11 @@
277267
"destination": "/concepts/account-linking/:path*",
278268
"permanent": true
279269
},
280-
{
281-
"source": "/cadence/style-guide",
282-
"destination": "/cadence/styleguide/project-development-tips",
283-
"permanent": true
284-
},
285-
{
286-
"source": "/cadence/style-guide/project-development-tips",
287-
"destination": "/cadence/styleguide/project-development-tips",
288-
"permanent": true
289-
},
290270
{
291271
"source": "/flow/faq",
292272
"destination": "/references/run-and-secure/nodes/faq/backers",
293273
"permanent": true
294274
},
295-
{
296-
"source": "/cadence/tutorial",
297-
"destination": "/cadence/tutorial/first-steps",
298-
"permanent": true
299-
},
300-
{
301-
"source": "/cadence/tutorial/01-first-steps",
302-
"destination": "/cadence/tutorial/first-steps",
303-
"permanent": true
304-
},
305-
{
306-
"source": "/cadence/tutorial/02-hello-world",
307-
"destination": "/cadence/tutorial/hello-world",
308-
"permanent": true
309-
},
310-
{
311-
"source": "/cadence/tutorial/03-resources",
312-
"destination": "/cadence/tutorial/resources",
313-
"permanent": true
314-
},
315-
{
316-
"source": "/cadence/tutorial/04-capabilities",
317-
"destination": "/cadence/tutorial/capabilities",
318-
"permanent": true
319-
},
320-
{
321-
"source": "/cadence/tutorial/05-non-fungible-tokens-1",
322-
"destination": "/cadence/tutorial/non-fungible-tokens-1",
323-
"permanent": true
324-
},
325-
{
326-
"source": "/cadence/tutorial/05-non-fungible-tokens-2",
327-
"destination": "/cadence/tutorial/non-fungible-tokens-2",
328-
"permanent": true
329-
},
330-
{
331-
"source": "/cadence/tutorial/06-fungible-tokens",
332-
"destination": "/cadence/tutorial/fungible-tokens",
333-
"permanent": true
334-
},
335-
{
336-
"source": "/cadence/tutorial/07-marketplace-setup",
337-
"destination": "/cadence/tutorial/marketplace-setup",
338-
"permanent": true
339-
},
340-
{
341-
"source": "/cadence/tutorial/08-marketplace-compose",
342-
"destination": "/cadence/tutorial/marketplace-compose",
343-
"permanent": true
344-
},
345-
{
346-
"source": "/cadence/tutorial/09-voting",
347-
"destination": "/cadence/tutorial/voting",
348-
"permanent": true
349-
},
350-
{
351-
"source": "/cadence/tutorial/10-resources-compose",
352-
"destination": "/cadence/tutorial/resources-compose",
353-
"permanent": true
354-
},
355275
{
356276
"source": "/tooling/fcl-js/tutorials/:path*",
357277
"destination": "/build/getting-started/quickstarts/fcl-quickstart",
@@ -527,11 +447,6 @@
527447
"destination": "/",
528448
"permanent": true
529449
},
530-
{
531-
"source": "/docs/cadence",
532-
"destination": "/cadence",
533-
"permanent": true
534-
},
535450
{
536451
"source": "/docs/getting-started-1",
537452
"destination": "/getting-started",
@@ -811,21 +726,6 @@
811726
"destination": "/build/advanced-concepts/account-linking",
812727
"permanent": true
813728
},
814-
{
815-
"source": "/next/concepts/start-here",
816-
"destination": "/next/build/flow",
817-
"permanent": true
818-
},
819-
{
820-
"source": "/next/cadence/intro",
821-
"destination": "/next/build/cadence",
822-
"permanent": true
823-
},
824-
{
825-
"source": "/next/cadence/why",
826-
"destination": "/next/build/cadence",
827-
"permanent": true
828-
},
829729
{
830730
"source": "/tools/wallets",
831731
"destination": "/community-resources/wallets",
@@ -846,101 +746,6 @@
846746
"destination": "/overview/getting-started/block-explorers",
847747
"permanent": true
848748
},
849-
{
850-
"source": "/next/tools/wallets",
851-
"destination": "/next/community-resources/wallets",
852-
"permanent": true
853-
},
854-
{
855-
"source": "/next/tools/bridges",
856-
"destination": "/next/community-resources/bridges",
857-
"permanent": true
858-
},
859-
{
860-
"source": "/next/tools/network-faucets",
861-
"destination": "/next/community-resources/faucets",
862-
"permanent": true
863-
},
864-
{
865-
"source": "/next/tools/block-explorers",
866-
"destination": "/next/community-resources/block-explorers",
867-
"permanent": true
868-
},
869-
{
870-
"source": "/next/community-resources/projects",
871-
"destination": "/next/community-resources/projects",
872-
"permanent": true
873-
},
874-
{
875-
"source": "/next/building-on-flow/core-contracts/fungible-tokens",
876-
"destination": "/next/overview/dive-in/fungible-tokens",
877-
"permanent": true
878-
},
879-
{
880-
"source": "/next/concepts/flix",
881-
"destination": "/next/build/advanced-concepts/flix",
882-
"permanent": true
883-
},
884-
{
885-
"source": "/next/building-on-flow/governance",
886-
"destination": "/next/references/governance",
887-
"permanent": true
888-
},
889-
{
890-
"source": "/next/cadence/anti-patterns",
891-
"destination": "/next/build/best-practices/anti-patterns",
892-
"permanent": true
893-
},
894-
{
895-
"source": "/next/cadence/contract-upgrades",
896-
"destination": "/next/build/best-practices/contract-upgrades",
897-
"permanent": true
898-
},
899-
{
900-
"source": "/next/cadence/design-patterns",
901-
"destination": "/next/build/best-practices/design-patterns",
902-
"permanent": true
903-
},
904-
{
905-
"source": "/next/cadence/project-development-tips",
906-
"destination": "/next/build/best-practices/project-development-tips",
907-
"permanent": true
908-
},
909-
{
910-
"source": "/next/cadence/security-best-practices",
911-
"destination": "/next/build/best-practices/security-best-practices",
912-
"permanent": true
913-
},
914-
{
915-
"source": "/next/building-on-flow/core-contracts/:path*",
916-
"destination": "/next/references/core-contracts/:path*",
917-
"permanent": true
918-
},
919-
{
920-
"source": "/next/concepts/account-linking/:path*",
921-
"destination": "/next/build/advanced-concepts/account-linking/:path*",
922-
"permanent": true
923-
},
924-
{
925-
"source": "/next/concepts/:path*",
926-
"destination": "/next/build/key-concepts/:path*",
927-
"permanent": true
928-
},
929-
{
930-
"source": "/next/guides/runningNode",
931-
"destination": "/next/references/run-and-secure/node-operation",
932-
"permanent": true
933-
},
934-
{
935-
"source": "/next/building-on-flow/run-and-secure/staking/:path*",
936-
"destination": "/next/architecture/staking/:path*",
937-
"permanent": true
938-
},
939-
{
940-
"source": "/next/building-on-flow/run-and-secure/node/node-operation/:path*",
941-
"destination": "/next/references/run-and-secure/node-operation/:path*",
942-
"permanent": true
943-
},
944749
{
945750
"source": "/tools/toolchains/:path*",
946751
"destination": "/tools/:path*",
@@ -1066,11 +871,6 @@
1066871
"destination": "/references/run-and-secure/:path*",
1067872
"permanent": true
1068873
},
1069-
{
1070-
"source": "/cadence/language/capability-based-access-control",
1071-
"destination": "/cadence/language/capabilities",
1072-
"permanent": true
1073-
},
1074874
{
1075875
"source": "/architecture/staking/:path*",
1076876
"destination": "/references/run-and-secure/staking/:path*",
@@ -1180,6 +980,16 @@
1180980
"source": "/cadence/:path*",
1181981
"destination": "https://cadence-lang.org/docs/0.42/:path*",
1182982
"permanent": true
983+
},
984+
{
985+
"source": "/next/cadence/:path*",
986+
"destination": "https://cadence-lang.org/docs/next/:path*",
987+
"permanent": true
988+
},
989+
{
990+
"source": "/next/:path*",
991+
"destination": "/:path*",
992+
"permanent": true
1183993
}
1184994
]
1185995
}

0 commit comments

Comments
 (0)