feat: add doc endpoint
This commit is contained in:
@@ -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);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user