mirror of
https://github.com/lingke-net/koring-space.git
synced 2026-09-12 05:45:17 +08:00
修复了页面缺失的问题,且补齐了其他页面内容,修复CSS问题
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { NextResponse } from "next/server";
|
||||
|
||||
export async function GET() {
|
||||
const res = await fetch(
|
||||
"https://koring-launcher-file-api.lenjing.cloud/launcher/beta/version.json"
|
||||
);
|
||||
if (!res.ok) {
|
||||
return NextResponse.json({ error: `HTTP ${res.status}` }, { status: res.status });
|
||||
}
|
||||
const data = await res.json();
|
||||
return NextResponse.json(data);
|
||||
}
|
||||
Reference in New Issue
Block a user