import { NextResponse } from "next/server"; import { readRemoteConfigFile } from "~/lib/remote-config-store"; /** Public remote config for portal + miniprogram */ export async function GET() { const config = await readRemoteConfigFile(); return NextResponse.json({ ok: true, source: "file", config, }); }