Change api status
This commit is contained in:
@@ -30,8 +30,6 @@ export async function GET() {
|
||||
.sort((a, b) => b - a) // Sort descending
|
||||
.slice(0, 7); // Take only 7 most recent years
|
||||
|
||||
console.log('Available years:', uniqueYears); // Debug log
|
||||
|
||||
return NextResponse.json(uniqueYears, {
|
||||
headers: {
|
||||
'Cache-Control': 'public, max-age=60, stale-while-revalidate=30',
|
||||
|
||||
Reference in New Issue
Block a user