aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-02-15 17:46:22 +0000
committerGravatar Gareth Coles <[email protected]>2018-02-15 17:46:22 +0000
commit37e9fbeb2c4e2ab62d9d04ff09678fa9354d76da (patch)
treef0d4f3d6b14b61f0dad8158d596b3ea2609b569f
parentHey, who turned out the lights?! (diff)
Make the websocket taste page use `wss://`
-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 fd8dd3a3..921226c0 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://api.{{ server_name }}/ws/echo");
+ let ws = new WebSocket("wss://api.{{ server_name }}/ws/echo");
ws.onopen = function(event) {
console.log("WS opened! Use send() to send a message.");