Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
38 changes: 38 additions & 0 deletions apps/web/app/api/[[...slug]]/route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import { NextResponse } from "next/server";

export const runtime = "edge";

export async function GET() {
return NextResponse.json(
{ error: "Not found. See /api-docs for API documentation." },
{ status: 404 },
);
}

export async function POST() {
return NextResponse.json(
{ error: "Not found. See /api-docs for API documentation." },
{ status: 404 },
);
}

export async function PUT() {
return NextResponse.json(
{ error: "Not found. See /api-docs for API documentation." },
{ status: 404 },
);
}

export async function PATCH() {
return NextResponse.json(
{ error: "Not found. See /api-docs for API documentation." },
{ status: 404 },
);
}

export async function DELETE() {
return NextResponse.json(
{ error: "Not found. See /api-docs for API documentation." },
{ status: 404 },
);
}
Loading