mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-11-21 19:02:53 +00:00
fixed a stupid bug in websocket ruby example
This commit is contained in:
@@ -51,7 +51,6 @@ class WebsocketEcho
|
||||
EOF
|
||||
|
||||
return [200, { 'Content-Type' => 'text/html'}, [body]]
|
||||
end
|
||||
else if env['PATH_INFO'] == '/foobar/'
|
||||
UWSGI::websocket_handshake(env['HTTP_SEC_WEBSOCKET_KEY'], env['HTTP_ORIGIN'])
|
||||
puts "websockets..."
|
||||
|
||||
Reference in New Issue
Block a user