Skip to content
Merged
Prev Previous commit
Next Next commit
redundant code
  • Loading branch information
sid597 committed May 6, 2025
commit eaa9c8f633ee30b319c994b2edc43a0fe05b28ff
4 changes: 0 additions & 4 deletions apps/website/app/api/embeddings/openai/small/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ export async function POST(req: NextRequest): Promise<NextResponse> {
}

try {
if (req.method === "OPTIONS") {
return cors(req, new NextResponse(null, { status: 204 })) as NextResponse;
}

const body: RequestBody = await req.json();
const {
input,
Expand Down