diff options
author | 2018-02-17 16:40:12 +0000 | |
---|---|---|
committer | 2018-02-17 16:40:12 +0000 | |
commit | 13b99667fa35ee913c314d5ec0cdb51d5835a98a (patch) | |
tree | 61e49b8668b6d51523b5dd25e4ffd00bbeca27ec /templates | |
parent | snekchek (diff) |
Integrate websockets into the Flask webapp
Diffstat (limited to '')
-rw-r--r-- | templates/ws_test.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/ws_test.html b/templates/ws_test.html index 921226c0..36be61d6 100644 --- a/templates/ws_test.html +++ b/templates/ws_test.html @@ -5,7 +5,7 @@ <h1>Open your JS console to test</h1> <script type="application/javascript"> - let ws = new WebSocket("wss://api.{{ server_name }}/ws/echo"); + let ws = new WebSocket("ws://{{ server_name }}/ws/echo"); ws.onopen = function(event) { console.log("WS opened! Use send() to send a message."); |