import { NextResponse } from 'next/server';
import { getCollegesList } from '@/services/server/colleges';

export const dynamic = 'force-dynamic';
export const revalidate = 0;

export async function GET() {
    const items = await getCollegesList();
    return NextResponse.json(items, {
        headers: {
            'Cache-Control': 'no-store, no-cache, must-revalidate, max-age=0',
            Pragma: 'no-cache',
            Expires: '0',
        },
    });
}
