mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	fix: bug #1240
This commit is contained in:
		@@ -40,7 +40,7 @@ async function fetchEN() {
 | 
				
			|||||||
    return raw
 | 
					    return raw
 | 
				
			||||||
      .split("\n")
 | 
					      .split("\n")
 | 
				
			||||||
      .slice(1)
 | 
					      .slice(1)
 | 
				
			||||||
      .map((v) => v.split('","').map((v) => v.replace('"', "")));
 | 
					      .map((v) => v.split('","').map((v) => v.replace(/^"|"$/g, '').replaceAll('""','"')));
 | 
				
			||||||
  } catch (error) {
 | 
					  } catch (error) {
 | 
				
			||||||
    console.error("[Fetch] failed to fetch en prompts", error);
 | 
					    console.error("[Fetch] failed to fetch en prompts", error);
 | 
				
			||||||
    return [];
 | 
					    return [];
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user