mirror of
https://github.com/faye/faye-websocket-ruby.git
synced 2025-11-01 13:59:13 +00:00
Connect Autobahn WebSocket client to 0.0.0.0, not localhost, to appease whatever continues to be wrong with localhost on macOS.
This commit is contained in:
@@ -5,7 +5,7 @@ require 'permessage_deflate'
|
||||
require 'progressbar'
|
||||
|
||||
EM.run {
|
||||
host = 'ws://localhost:9001'
|
||||
host = 'ws://0.0.0.0:9001'
|
||||
ruby = RUBY_PLATFORM =~ /java/ ? 'jruby' : 'cruby'
|
||||
agent = CGI.escape("#{ruby}-#{RUBY_VERSION}")
|
||||
cases = 0
|
||||
|
||||
Reference in New Issue
Block a user