docs: fix redirect infrastructure modules (#12238)

* docs: fix redirect infrastructure modules

* change middleware
This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-04-18 14:19:55 +03:00
1 parent db0fe0fc91
commit 9167352778
6 files changed
+9 -12

No files matched your search

@@ -74,6 +74,7 @@ export async function GET(req: NextRequest, { params }: Params) {
headers: {
"Content-Type": "text/markdown",
},
status: 200,
})
}
+1 -1
View File
@@ -169,7 +169,7 @@ const nextConfig = {
permanent: true,
},
{
source: "/infrastructure-modules/:path*",
source: "/architectural-modules/:path*",
destination: "/infrastructure-modules/:path*",
permanent: true,
},