Files
Compass/web/lib/live-update.ts
2025-12-15 16:49:15 +02:00

13 lines
291 B
TypeScript

type BuildInfo = {
commitSha: string;
commitRef: string;
commitMessage: string;
commitDate: string;
buildDate: string;
};
export async function getLiveUpdateInfo(): Promise<BuildInfo> {
const res = await fetch("/live-update.json", { cache: "no-store" });
return res.json();
}