change the wss endpoint
Browse files- app/main.py +1 -1
app/main.py
CHANGED
@@ -19,7 +19,7 @@ html = """
|
|
19 |
</ul>
|
20 |
<script>
|
21 |
// var ws = new WebSocket("ws://localhost:8000/ws");
|
22 |
-
var ws = new WebSocket("wss://
|
23 |
ws.onmessage = function(event) {
|
24 |
var messages = document.getElementById('messages')
|
25 |
var message = document.createElement('li')
|
|
|
19 |
</ul>
|
20 |
<script>
|
21 |
// var ws = new WebSocket("ws://localhost:8000/ws");
|
22 |
+
var ws = new WebSocket("wss://cahya-websocket.hf.space/ws");
|
23 |
ws.onmessage = function(event) {
|
24 |
var messages = document.getElementById('messages')
|
25 |
var message = document.createElement('li')
|