Kaynağa Gözat

Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web

GH Action - Upstream Sync 2 yıl önce
ebeveyn
işleme
d5bd77cca1
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      scripts/fetch-prompts.mjs

+ 1 - 1
scripts/fetch-prompts.mjs

@@ -36,7 +36,7 @@ async function fetchEN() {
   try {
     // const raw = await (await fetch(EN_URL)).text();
     const response = await Promise.race([fetch(EN_URL), timeoutPromise(5000)]);
-    const raw = response.text();
+    const raw = await response.text();
     return raw
       .split("\n")
       .slice(1)