mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-24 22:50:22 +09:00
fix: #194
This commit is contained in:
parent
309431a90b
commit
6dd0ad628e
@ -35,3 +35,4 @@ export const GET = handle;
|
|||||||
export const OPTIONS = handle;
|
export const OPTIONS = handle;
|
||||||
|
|
||||||
export const runtime = "edge";
|
export const runtime = "edge";
|
||||||
|
export const revalidate = 0;
|
||||||
|
@ -465,7 +465,9 @@ export function ImagePreviewer(props: {
|
|||||||
const isApp = getClientConfig()?.isApp;
|
const isApp = getClientConfig()?.isApp;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const blob = await toPng(dom);
|
const blob = await toPng(dom, {
|
||||||
|
includeQueryParams: true,
|
||||||
|
});
|
||||||
if (!blob) return;
|
if (!blob) return;
|
||||||
|
|
||||||
if (isMobile || (isApp && window.__TAURI__)) {
|
if (isMobile || (isApp && window.__TAURI__)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user