summaryrefslogtreecommitdiffstats
path: root/g4f/gui/client/js/chat.v2.js
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 /g4f/gui/client/js/chat.v2.js
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
Diffstat (limited to '')
-rw-r--r--g4f/gui/client/js/chat.v2.js2
1 files changed, 1 insertions, 1 deletions
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.`;
}