aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-02-17 16:42:13 +0000
committerGravatar Gareth Coles <[email protected]>2018-02-17 16:42:13 +0000
commit9f6ba68046e9b6e83d72f1c868733c097aba5b48 (patch)
treea147c9d93da495368b2ee58a5ea121f6b0132b4d
parentIntegrate websockets into the Flask webapp (diff)
Go back to using wss:// for the WS test
Diffstat (limited to '')
-rw-r--r--templates/ws_test.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/ws_test.html b/templates/ws_test.html
index 36be61d6..b2e17ee1 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("ws://{{ server_name }}/ws/echo");
+ let ws = new WebSocket("wss://{{ server_name }}/ws/echo");
ws.onopen = function(event) {
console.log("WS opened! Use send() to send a message.");