mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-12 20:23:45 +08:00
fix bug
This commit is contained in:
@@ -294,4 +294,5 @@ async function handle(req: NextRequest) {
|
||||
export const GET = handle;
|
||||
export const POST = handle;
|
||||
|
||||
export const runtime = process.env.DDG_PROXY_URL ? "nodejs" : "edge";
|
||||
export const runtime =
|
||||
process.env.DDG_PROXY_URL != undefined ? "nodejs" : "edge";
|
||||
|
||||
Reference in New Issue
Block a user