docs: prepare projects configurations for user guide (#11610)
* docs: prepare projects configurations for user guide * fix build error
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user