diff options
author | 2018-02-15 17:46:22 +0000 | |
---|---|---|
committer | 2018-02-15 17:46:22 +0000 | |
commit | 37e9fbeb2c4e2ab62d9d04ff09678fa9354d76da (patch) | |
tree | f0d4f3d6b14b61f0dad8158d596b3ea2609b569f /templates/ws_test.html | |
parent | Hey, who turned out the lights?! (diff) |
Make the websocket taste page use `wss://`
Diffstat (limited to 'templates/ws_test.html')
-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 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."); |