Commit 88957cac95374c926070b93728165ccbd15907d8

Authored by renansoares
1 parent 25041703
Exists in master and in 1 other branch v2

trying to fix websocket error

app/assets/javascripts/v_libras/videos/index.js.erb
1 1 $(function() {
2 2 $("a.badge").tooltip();
3 3  
4   - var dispatcher = new WebSocketRails('150.165.204.80:110/websocket');
  4 + var dispatcher = new WebSocketRails('150.165.204.80:80/websocket');
5 5  
6 6 // subscribe to the channel
7 7 var channel = dispatcher.subscribe('requests_update');
... ...
config/initializers/websocket_rails.rb
... ... @@ -17,7 +17,7 @@ WebsocketRails.setup do |config|
17 17 # Start the standalone server with rake websocket_rails:start_server
18 18 # * Requires Redis
19 19 config.standalone = true
20   - config.standalone_port = 110
  20 + config.standalone_port = 80
21 21  
22 22 # Change to true to enable channel synchronization between
23 23 # multiple server instances.
... ...