amalia/23-apr-26 #39

Merged
amaliadwiy merged 13 commits from amalia/23-apr-26 into join 2026-04-23 17:31:26 +08:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 3f41155d40 - Show all commits

View File

@@ -1,8 +1,9 @@
import { NextResponse } from "next/server";
import { version } from "../../../../package.json";
export async function GET(request: Request) {
try {
return NextResponse.json({ success: true, version: "0.1.4", tahap: "beta", update: "-perbaikan fitur diskusi dan perbaikan tampilan mobile" }, { status: 200 });
return NextResponse.json({ success: true, version, tahap: "beta", update: "-perbaikan fitur diskusi dan perbaikan tampilan mobile" }, { 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 });