eshan13 commited on
Commit
23eccbb
·
verified ·
1 Parent(s): 7cfe896

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +1 -1
static/index.html CHANGED
@@ -402,7 +402,7 @@
402
 
403
  <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
404
  <script>
405
- const ws = new WebSocket(`ws://${window.location.host}/ws/chat`);
406
  const messagesContainer = document.getElementById('messagesContainer');
407
  const userInput = document.getElementById('userInput');
408
  const sendBtn = document.getElementById('sendBtn');
 
402
 
403
  <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
404
  <script>
405
+ const ws = new WebSocket(`wss://${window.location.host}/ws/chat`);
406
  const messagesContainer = document.getElementById('messagesContainer');
407
  const userInput = document.getElementById('userInput');
408
  const sendBtn = document.getElementById('sendBtn');