14 lines
286 B
TypeScript
14 lines
286 B
TypeScript
import { NextResponse } from 'next/server';
|
|
|
|
export const dynamic = 'force-dynamic';
|
|
|
|
export async function GET() {
|
|
return NextResponse.json(
|
|
{
|
|
error: '必须指定项目编码',
|
|
message: '请改用 /api/version/{projectCode}/check',
|
|
},
|
|
{ status: 410 }
|
|
);
|
|
}
|