Initial commit

This commit is contained in:
decolua
2026-01-05 09:58:59 +07:00
commit 3857598de4
159 changed files with 14537 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import { NextResponse } from "next/server";
import { getSettings } from "@/lib/localDb";
export async function GET() {
try {
const settings = await getSettings();
return NextResponse.json(settings);
} catch (error) {
console.log("Error getting settings:", error);
return NextResponse.json({ error: error.message }, { status: 500 });
}
}