upd: api version

This commit is contained in:
amel
2025-01-17 14:50:38 +08:00
parent 53e289d1bd
commit b25074b782

View File

@@ -2,7 +2,7 @@ import { NextResponse } from "next/server";
export async function GET(request: Request) {
try {
return NextResponse.json({ success: true, version: "1.1.0", tahap: "beta" }, { status: 200 });
return NextResponse.json({ success: true, version: "1.1.1", tahap: "beta", update:"-pdf viewer -jumlah anggota pada grid list divisi" }, { status: 200 });
} catch (error) {
console.error(error);
return NextResponse.json({ success: false, version: "Gagal mendapatkan version, coba lagi nanti (error: 500)", reason: (error as Error).message, }, { status: 500 });