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