Merge pull request #307 from bipproduction/amalia/16-okt-24

upd: update version
This commit is contained in:
Amalia
2024-10-16 18:01:57 +08:00
committed by GitHub

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.1.3", mode: "staging" }, { status: 200 });
return NextResponse.json({ success: true, version: "0.1.4", mode: "staging" }, { status: 200 });
} catch (error) {
console.error(error);
return NextResponse.json({ success: false, version: "Gagal mendapatkan version, coba lagi nanti", reason: (error as Error).message, }, { status: 500 });