From 620361348fd6b347cf54ee562935117b66fba629 Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Sun, 12 Feb 2023 17:30:15 +0100 Subject: [PATCH] Improve example comment --- .lune/examples/websocket_server.luau | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.lune/examples/websocket_server.luau b/.lune/examples/websocket_server.luau index 89a4efb..66d0f93 100644 --- a/.lune/examples/websocket_server.luau +++ b/.lune/examples/websocket_server.luau @@ -4,7 +4,8 @@ local PORT = if process.env.PORT ~= nil and #process.env.PORT > 0 then assert(tonumber(process.env.PORT), "Failed to parse port from env") else 8080 --- Run the server on port 8080 +-- Run the server on port 8080, if we get a normal http request on +-- the port this will respond with 426 Upgrade Required by default local handle = net.serve(PORT, { handleWebSocket = function(socket)