feat: add config API and update ApkList to use configured tabs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-05 00:00:58 +08:00
parent 0b817984bb
commit 7268b91ed3
3 changed files with 48 additions and 12 deletions

8
app/api/config/route.ts Normal file
View File

@@ -0,0 +1,8 @@
import { NextResponse } from 'next/server';
import { APK_TABS } from '@/lib/constants';
export async function GET() {
return NextResponse.json({
tabs: APK_TABS,
});
}