docs: prepare projects configurations for user guide (#11610)

* docs: prepare projects configurations for user guide

* fix build error
This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-02-26 10:01:30 +02:00
1 parent 9e2af4801d
commit b45c1e1580
5 files changed
+59 -17

No files matched your search

@@ -16,7 +16,7 @@ type Params = {
}
export async function GET(req: NextRequest, { params }: Params) {
const { slug } = await params
const { slug = ["/"] } = await params
// keep this so that Vercel keeps the files in deployment
const basePath = path.join(process.cwd(), "app")