diff options
| author | 2018-02-18 15:42:06 +0100 | |
|---|---|---|
| committer | 2018-02-18 14:42:06 +0000 | |
| commit | 6876f95c6b01008f08e799fb91cb64bf6d0dbe7d (patch) | |
| tree | 44565e3ffffb01a2c08d3974118970b5bb6ff0bd | |
| parent | adding one line of logging to debug a problem with rethinkdb (diff) | |
adds .api to the secure websocket connection (#18)
| -rw-r--r-- | templates/ws_test.html | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/templates/ws_test.html b/templates/ws_test.html index b2e17ee1..6ef1bb68 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://{{ 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."); @@ -21,4 +21,4 @@              }          </script>      </div> -{% endblock %}
\ No newline at end of file +{% endblock %} | 
