Files
buzz/app/api/amber/log/route.ts
T

8 lines
275 B
TypeScript
Executable File

import { getAmberVh } from "@/lib/api";
import { createAmberProxyHandler } from "@/lib/server-handlers";
export const GET = createAmberProxyHandler("static/changelog", {
getVersionHash: getAmberVh,
fetchText: (url) => fetch(url).then((response) => response.text()),
});