fixes, theming, branding
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { NextResponse } from 'next/server';
|
||||
import { getAppConfig } from '@/lib/app-config';
|
||||
|
||||
export async function GET() {
|
||||
try {
|
||||
const config = await getAppConfig();
|
||||
return NextResponse.json(config);
|
||||
} catch (error) {
|
||||
console.error('Error fetching app config:', error);
|
||||
return NextResponse.json({ error: 'Internal server error' }, { status: 500 });
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user