lib/keyhole.rb in keyhole-0.0.0 vs lib/keyhole.rb in keyhole-0.1.0

- old
+ new

@@ -19,11 +19,11 @@ $channel = EM::Channel.new $clients = {} - EventMachine::start_server "127.0.0.1", 5000, SatParser - EventMachine::start_server "127.0.0.1", 5500, QueryServer + EventMachine::start_server "0.0.0.0", 5000, SatParser + EventMachine::start_server "0.0.0.0", 5500, QueryServer # TODO - Make sure this reads config from a config-file instead of this weird thing! EventMachine::WebSocket.start(:host => "0.0.0.0", :port => 8080, :debug => true) do |ws| ws.onopen{ sid = $channel.subscribe { |msg| ws.send msg }