diff --git a/backend/src/app/api/[...path]/route.ts b/backend/src/app/api/[...path]/route.ts index 6a57464..d5c1af9 100644 --- a/backend/src/app/api/[...path]/route.ts +++ b/backend/src/app/api/[...path]/route.ts @@ -26,3 +26,7 @@ export async function POST(request: NextRequest, { params }: { params: { path: s export async function PUT(request: NextRequest, { params }: { params: { path: string[] } }) { return dispatch(request, params.path, 'PUT'); } + +export async function DELETE(request: NextRequest, { params }: { params: { path: string[] } }) { + return dispatch(request, params.path, 'DELETE'); +}