feat: add doc endpoint

This commit is contained in:
2026-05-06 22:29:20 +02:00
parent 1f7164ed2b
commit bad3b5539c
+9
View File
@@ -0,0 +1,9 @@
import { env } from "process";
export async function GET() {
const res = await fetch(env.NEXT_PUBLIC_API_URL! + "/docs.json");
const data = await res.json();
return Response.json(data);
}