upd: version api

This commit is contained in:
amel
2024-12-23 17:54:21 +08:00
parent 44b6314c49
commit 6993502d6a

View File

@@ -2,7 +2,7 @@ import { NextResponse } from "next/server";
export async function GET(request: Request) {
try {
return NextResponse.json({ success: true, version: "0.2.7", tahap: "beta" }, { status: 200 });
return NextResponse.json({ success: true, version: "0.2.8", tahap: "beta" }, { 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 });