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
2025-02-26 10:01:30 +02:00
committed by GitHub
parent 9e2af4801d
commit b45c1e1580
5 changed files with 59 additions and 17 deletions
@@ -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")