13 lines
544 B
TypeScript
13 lines
544 B
TypeScript
// Legacy ingestion API removed in favor of BullMQ worker.
|
|
// This route is intentionally kept to return 410 Gone so any external callers
|
|
// (e.g., old n8n workflows) receive a clear signal to stop posting here.
|
|
import { NextResponse } from 'next/server';
|
|
|
|
export async function POST() {
|
|
return NextResponse.json({ error: 'This endpoint has been removed. Use the new worker-based ingestion.' }, { status: 410 });
|
|
}
|
|
|
|
export async function DELETE() {
|
|
return NextResponse.json({ error: 'This endpoint has been removed.' }, { status: 410 });
|
|
}
|