Publish Meshkee sitemap-config, map product-source specials without variants, restore hero autoplay, and tighten page heroes, product images, and section order. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
496 B
TypeScript
18 lines
496 B
TypeScript
import sitemapConfig from "@/lib/sitemap-config.generated.json";
|
|
|
|
const headers = {
|
|
"Access-Control-Allow-Origin": "*",
|
|
"Access-Control-Allow-Methods": "GET, OPTIONS",
|
|
"Access-Control-Allow-Headers": "Content-Type",
|
|
"Cache-Control": "public, max-age=60",
|
|
"Content-Type": "application/json; charset=utf-8",
|
|
};
|
|
|
|
export async function OPTIONS() {
|
|
return new Response(null, { status: 204, headers });
|
|
}
|
|
|
|
export async function GET() {
|
|
return Response.json(sitemapConfig, { headers });
|
|
}
|