cahya commited on
Commit
dd94618
1 Parent(s): 1f37c8e

fixed the ws

Browse files
Files changed (1) hide show
  1. app/websocket.py +1 -1
app/websocket.py CHANGED
@@ -21,7 +21,7 @@ html = """
21
  </ul>
22
  <script>
23
  // var ws = new WebSocket("ws://localhost:8000/api/ws");
24
- var ws = new WebSocket("https://cahya-proxy.hf.space/api/ws");
25
  ws.onmessage = function(event) {
26
  var messages = document.getElementById('messages')
27
  var message = document.createElement('li')
 
21
  </ul>
22
  <script>
23
  // var ws = new WebSocket("ws://localhost:8000/api/ws");
24
+ var ws = new WebSocket("wss://cahya-proxy.hf.space/api/ws");
25
  ws.onmessage = function(event) {
26
  var messages = document.getElementById('messages')
27
  var message = document.createElement('li')