summaryrefslogtreecommitdiffstats
path: root/g4f/gui/server/website.py
diff options
context:
space:
mode:
Diffstat (limited to 'g4f/gui/server/website.py')
-rw-r--r--g4f/gui/server/website.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/g4f/gui/server/website.py b/g4f/gui/server/website.py
index d0c56c20..2705664d 100644
--- a/g4f/gui/server/website.py
+++ b/g4f/gui/server/website.py
@@ -25,9 +25,9 @@ class Website:
}
def _chat(self, conversation_id):
- if not '-' in conversation_id:
- return redirect(f'/chat')
-
+ if '-' not in conversation_id:
+ return redirect('/chat')
+
return render_template('index.html', chat_id = conversation_id)
def _index(self):