docs: update to next 15 + eslint 9 (#9839)
* update next * updated react * update eslint * finish updating eslint * fix content lint errors * fix docs test * fix vale action * fix installation errors
This commit is contained in:
1 parent
6f7467f071
commit
938f3bd934
143 files changed
+4193
-3226
No files matched your search
@@ -3,12 +3,13 @@ import { NextResponse } from "next/server"
|
||||
import path from "path"
|
||||
|
||||
type DownloadParams = {
|
||||
params: {
|
||||
params: Promise<{
|
||||
area: string
|
||||
}
|
||||
}>
|
||||
}
|
||||
|
||||
export function GET(request: Request, { params }: DownloadParams) {
|
||||
export async function GET(request: Request, props: DownloadParams) {
|
||||
const params = await props.params
|
||||
const { area } = params
|
||||
const filePath = path.join(process.cwd(), "specs", area, "openapi.full.yaml")
|
||||
|
||||
|
||||
Reference in new issue
Block a user