srinuksv commited on
Commit
64f64b3
·
verified ·
1 Parent(s): dab57f1

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +1 -2
static/index.html CHANGED
@@ -192,8 +192,7 @@ async function sendMessage() {
192
  } catch (error) {
193
  console.error('Error sending chat history on close:', error);
194
  } finally {
195
- const chatContainer = document.getElementById("chat-container");
196
- window.top.location.href = 'https://redfernstech.com/'; // Or use chatContainer.remove(); to completely remove it
197
  }
198
  }
199
  function addMessage(sender, message, className) {
 
192
  } catch (error) {
193
  console.error('Error sending chat history on close:', error);
194
  } finally {
195
+ window.history.back();
 
196
  }
197
  }
198
  function addMessage(sender, message, className) {