diff --git a/app/src/app/api/pixabot/[id]/frames/route.ts b/app/src/app/api/pixabot/[id]/frames/route.ts index 8533f54..97234c8 100644 --- a/app/src/app/api/pixabot/[id]/frames/route.ts +++ b/app/src/app/api/pixabot/[id]/frames/route.ts @@ -13,7 +13,7 @@ import { resolveFrameIndex, type PartCategory, } from "@pixabots/core"; -import { CORS_HEADERS, optionsResponse } from "@/lib/api"; +import { CORS_HEADERS, optionsResponse, DETERMINISTIC_CACHE } from "@/lib/api"; export const OPTIONS = optionsResponse; @@ -75,8 +75,8 @@ export async function GET( { headers: { ...CORS_HEADERS, - "Cache-Control": "public, max-age=31536000, immutable", - "CDN-Cache-Control": "public, max-age=31536000, immutable", + "Cache-Control": DETERMINISTIC_CACHE, + "CDN-Cache-Control": DETERMINISTIC_CACHE, }, } );