Skip to content

best way to save what you love

353 B
Raw Blame
import { json } from "@sveltejs/kit";
import { getCommit, getBranch, getRemote, getVersion } from "@imput/version-info";

export async function GET() {
    return json({
        commit: await getCommit(),
        branch: await getBranch(),
        remote: await getRemote(),
        version: await getVersion()
    });
}

export const prerender = true;