treesummaryrefslogcommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig
index b6b2e13..b0560ac 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -76,7 +76,7 @@ fn handle_request(alloc: std.mem.Allocator, io: Io, stream: Io.net.Stream) void
\\ </style></head><body>
\\ <script>
\\ function tryConnect() {
- \\ const socket = new WebSocket(`wss://${window.location.host}/ws`);
+ \\ const socket = new WebSocket(`wss://${window.location.host}/ws/`);
\\ socket.addEventListener("open", (event) => {
\\ tv.value += "Connected!\n";
\\ });