feat: Configure adult types API route to use edge runtime.

This commit is contained in:
kuekhaoyang
2025-12-25 00:00:41 +08:00
parent 5018d32942
commit 082437a961
+2
View File
@@ -1,6 +1,8 @@
import { NextResponse } from 'next/server';
import { ADULT_SOURCES } from '@/lib/api/adult-sources';
export const runtime = 'edge';
export const revalidate = 3600; // Cache for 1 hour
interface Category {