diff --git a/Gemfile.lock b/Gemfile.lock index 44dba73..84bb0fe 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -384,8 +384,8 @@ GEM libv8 (~> 3.16.14.0) ref thin (1.6.2) - eventmachine (>= 1.0.0) daemons (>= 1.0.9) + eventmachine (>= 1.0.0) rack (>= 1.0.0) thor (0.19.1) thread_safe (0.3.4) diff --git a/app/assets/javascripts/v_libras/videos/index.js.erb b/app/assets/javascripts/v_libras/videos/index.js.erb index 025e9e1..295a820 100644 --- a/app/assets/javascripts/v_libras/videos/index.js.erb +++ b/app/assets/javascripts/v_libras/videos/index.js.erb @@ -1,7 +1,7 @@ $(function() { $("a.badge").tooltip(); - var dispatcher = new WebSocketRails('150.165.204.80:443/websocket'); + var dispatcher = new WebSocketRails('150.165.204.80:3000/websocket'); // subscribe to the channel var channel = dispatcher.subscribe('requests_update'); diff --git a/config/initializers/websocket_rails.rb b/config/initializers/websocket_rails.rb index 5b02e45..eac9102 100644 --- a/config/initializers/websocket_rails.rb +++ b/config/initializers/websocket_rails.rb @@ -16,8 +16,7 @@ WebsocketRails.setup do |config| # Change to true to enable standalone server mode # Start the standalone server with rake websocket_rails:start_server # * Requires Redis - config.standalone = true - config.standalone_port = 443 + config.standalone = false # Change to true to enable channel synchronization between # multiple server instances. @@ -30,7 +29,7 @@ WebsocketRails.setup do |config| # Uncomment and edit to point to a different redis instance. # Will not be used unless standalone or synchronization mode # is enabled. - config.redis_options = {:host => 'localhost', :port => '6379'} + # config.redis_options = {:host => 'localhost', :port => '6379'} # By default, all subscribers in to a channel will be removed # when that channel is made private. If you don't wish active -- libgit2 0.21.2