diff --git a/app/api/cors/route.ts b/app/api/cors/route.ts index 4fadd2608e5..c885dad1637 100644 --- a/app/api/cors/route.ts +++ b/app/api/cors/route.ts @@ -35,3 +35,4 @@ export const GET = handle; export const OPTIONS = handle; export const runtime = "edge"; +export const revalidate = 0; diff --git a/app/components/exporter.tsx b/app/components/exporter.tsx index 1b9cc031c91..03100b7a640 100644 --- a/app/components/exporter.tsx +++ b/app/components/exporter.tsx @@ -465,7 +465,9 @@ export function ImagePreviewer(props: { const isApp = getClientConfig()?.isApp; try { - const blob = await toPng(dom); + const blob = await toPng(dom, { + includeQueryParams: true, + }); if (!blob) return; if (isMobile || (isApp && window.__TAURI__)) {