summaryrefslogtreecommitdiffstats
path: root/g4f/gui/client/js/chat.v2.js
diff options
context:
space:
mode:
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.`;
}