mirror of
https://github.com/KuekHaoYang/KVideo.git
synced 2026-08-13 07:43:43 +08:00
18 lines
435 B
TypeScript
18 lines
435 B
TypeScript
/**
|
|
* Config API Route (Simplified)
|
|
* Only returns non-auth configuration now.
|
|
* Auth has moved to /api/auth.
|
|
*/
|
|
|
|
import { NextResponse } from 'next/server';
|
|
|
|
export const runtime = 'edge';
|
|
|
|
const SUBSCRIPTION_SOURCES = process.env.SUBSCRIPTION_SOURCES || process.env.NEXT_PUBLIC_SUBSCRIPTION_SOURCES || '';
|
|
|
|
export async function GET() {
|
|
return NextResponse.json({
|
|
subscriptionSources: SUBSCRIPTION_SOURCES,
|
|
});
|
|
}
|