Files
homarr/apps/nextjs/src/app/api/about/dependencies/route.ts
T

11 lines
293 B
TypeScript

import { NextResponse } from "next/server";
import { getDependenciesAsync } from "../../../../versions/package-reader";
export const GET = async () => {
const dependencies = await getDependenciesAsync();
return NextResponse.json(dependencies);
};
export const dynamic = "force-static";