docs: added cloud documentation project (#12711)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-06-12 11:29:14 +03:00
1 parent bd6d9777c5
commit 8a88748982
85 files changed
+1463 -19

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
import { NextResponse } from "next/server"
import type { NextRequest } from "next/server"
export function middleware(request: NextRequest) {
return NextResponse.rewrite(
new URL(
`${request.nextUrl.basePath}/md-content${request.nextUrl.pathname.replace("/index.html.md", "")}`,
request.url
)
)
}
export const config = {
matcher: "/:path*/index.html.md",
}