aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/ws_test.html4
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 %}