Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit ce572f7

Browse files
committed
cloud mapping redirects
1 parent 82cc0b0 commit ce572f7

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

next.config.mjs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,34 @@ const nextConfig = {
477477
basePath: false,
478478
permanent: true,
479479
},
480+
...[
481+
'apis',
482+
'keyvalue',
483+
'queues',
484+
'topics',
485+
'schedules',
486+
'secrets',
487+
'storage',
488+
].flatMap((page) => [
489+
{
490+
source: `/docs/providers/pulumi/aws/${page}`,
491+
destination: `/docs/providers/mappings/aws/${page}`,
492+
basePath: false,
493+
permanent: true,
494+
},
495+
{
496+
source: `/docs/providers/pulumi/azure/${page}`,
497+
destination: `/docs/providers/mappings/azure/${page}`,
498+
basePath: false,
499+
permanent: true,
500+
},
501+
{
502+
source: `/docs/providers/pulumi/gcp/${page}`,
503+
destination: `/docs/providers/mappings/gcp/${page}`,
504+
basePath: false,
505+
permanent: true,
506+
},
507+
]),
480508
{
481509
source: '/docs/reference/providers',
482510
destination: '/docs/providers',

0 commit comments

Comments
 (0)