summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCommenter123321 <36051603+Commenter123321@users.noreply.github.com>2023-10-10 15:37:29 +0200
committerCommenter123321 <36051603+Commenter123321@users.noreply.github.com>2023-10-10 15:37:29 +0200
commitd3040b0c14cd6cb59d824bf7e700bc56f2aecc3d (patch)
tree6d34287860990cc8a507f0407572cf7d91c0c588
parentmake user agent easily changeable in deepai (diff)
downloadgpt4free-d3040b0c14cd6cb59d824bf7e700bc56f2aecc3d.tar
gpt4free-d3040b0c14cd6cb59d824bf7e700bc56f2aecc3d.tar.gz
gpt4free-d3040b0c14cd6cb59d824bf7e700bc56f2aecc3d.tar.bz2
gpt4free-d3040b0c14cd6cb59d824bf7e700bc56f2aecc3d.tar.lz
gpt4free-d3040b0c14cd6cb59d824bf7e700bc56f2aecc3d.tar.xz
gpt4free-d3040b0c14cd6cb59d824bf7e700bc56f2aecc3d.tar.zst
gpt4free-d3040b0c14cd6cb59d824bf7e700bc56f2aecc3d.zip
-rw-r--r--g4f/gui/client/html/index.html2
-rw-r--r--g4f/gui/client/js/chat.v2.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/g4f/gui/client/html/index.html b/g4f/gui/client/html/index.html
index c15584b8..f77dd910 100644
--- a/g4f/gui/client/html/index.html
+++ b/g4f/gui/client/html/index.html
@@ -79,7 +79,7 @@
<span>Clear Conversations</span>
</button>
<div class="info">
- <i class="fa-brands fa-discord"></i>
+ <i class="fa-brands fa-telegram"></i>
<span class="convo-title">telegram: <a href="https://t.me/g4f_official">@g4f_official</a><br>
</span>
</div>
diff --git a/g4f/gui/client/js/chat.v2.js b/g4f/gui/client/js/chat.v2.js
index e1faa6bb..63ec1351 100644
--- a/g4f/gui/client/js/chat.v2.js
+++ b/g4f/gui/client/js/chat.v2.js
@@ -144,7 +144,7 @@ const ask_gpt = async (message) => {
chunk = new TextDecoder().decode(value);
- if (chunk.includes(`<form id="challenge-form" action="/backend-api/v2/conversation?`)) {
+ if (chunk.includes(`<form id="challenge-form" action="/backend-api/v2/conversation?")) {
chunk = `cloudflare token expired, please refresh the page.`;
}