feat: establish NekoNest Cloud control and relay

This commit is contained in:
2026-08-12 23:25:43 +08:00
commit f27606b709
222 changed files with 71456 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import { getServiceStatusSnapshot } from "@/db/repository";
import { apiError } from "../respond";
export async function GET() {
try {
const snapshot = await getServiceStatusSnapshot();
return Response.json(snapshot, {
headers: { "cache-control": "no-store" },
});
} catch (error) {
const response = apiError(error);
response.headers.set("cache-control", "no-store");
return response;
}
}