mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	@@ -35,12 +35,12 @@ export async function requestOpenai(req: NextRequest) {
 | 
			
		||||
  const fetchOptions: RequestInit = {
 | 
			
		||||
    headers: {
 | 
			
		||||
      "Content-Type": "application/json",
 | 
			
		||||
      "Cache-Control": "no-store",
 | 
			
		||||
      Authorization: authValue,
 | 
			
		||||
      ...(process.env.OPENAI_ORG_ID && {
 | 
			
		||||
        "OpenAI-Organization": process.env.OPENAI_ORG_ID,
 | 
			
		||||
      }),
 | 
			
		||||
    },
 | 
			
		||||
    cache: "no-store",
 | 
			
		||||
    method: req.method,
 | 
			
		||||
    body: req.body,
 | 
			
		||||
    // @ts-ignore
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user