carservice: initial commit
Build and publish images / docker (push) Canceled after 0s

This commit is contained in:
Hermes
2026-07-20 20:51:23 +01:00
commit f7a9906add
77 changed files with 9403 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import { lookupVehicle } from "@/lib/vehicle-lookup";
import { errorResponse, jsonResponse } from "@/lib/api-helpers";
export async function GET(req: Request) {
const { searchParams } = new URL(req.url);
const reg = searchParams.get("reg")?.trim();
if (!reg) return errorResponse("reg is required");
const result = await lookupVehicle(reg);
return jsonResponse(result);
}