mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-13 04:33:42 +08:00
fix: #194
This commit is contained in:
@@ -35,3 +35,4 @@ export const GET = handle;
|
||||
export const OPTIONS = handle;
|
||||
|
||||
export const runtime = "edge";
|
||||
export const revalidate = 0;
|
||||
|
||||
@@ -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__)) {
|
||||
|
||||
Reference in New Issue
Block a user