mirror of
https://github.com/YuzuZensai/Pien-Studio.git
synced 2026-09-02 14:18:35 +00:00
7 lines
223 B
TypeScript
7 lines
223 B
TypeScript
import { NextResponse } from "next/server";
|
|
import { execSync } from "child_process";
|
|
|
|
export function GET() {
|
|
const hash = execSync("git rev-parse --short HEAD").toString().trim();
|
|
return NextResponse.json({ hash });
|
|
} |