Skip to content

Commit a260ae4

Browse files
Add redirects for /apps/apps/ and /integrations/ paths
1 parent 24ef2b6 commit a260ae4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs-v2/next.config.mjs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ export default withNextra({
3434
},
3535
async redirects() {
3636
return [
37+
{
38+
source: "/apps/apps/",
39+
destination: "/apps/",
40+
permanent: true,
41+
},
3742
{
3843
source: "/v3/",
3944
destination: "/",
@@ -476,6 +481,11 @@ export default withNextra({
476481
destination: "/integrations/oauth-clients/",
477482
permanent: true,
478483
},
484+
{
485+
source: "/integrations/",
486+
destination: "/apps/",
487+
permanent: true,
488+
},
479489
{
480490
source: "/integrations/:path*/",
481491
destination: "/apps/:path*/",

0 commit comments

Comments
 (0)