Commit 88957cac95374c926070b93728165ccbd15907d8
1 parent
25041703
Exists in
master
and in
1 other branch
trying to fix websocket error
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/assets/javascripts/v_libras/videos/index.js.erb
1 | $(function() { | 1 | $(function() { |
2 | $("a.badge").tooltip(); | 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 | // subscribe to the channel | 6 | // subscribe to the channel |
7 | var channel = dispatcher.subscribe('requests_update'); | 7 | var channel = dispatcher.subscribe('requests_update'); |
config/initializers/websocket_rails.rb
@@ -17,7 +17,7 @@ WebsocketRails.setup do |config| | @@ -17,7 +17,7 @@ WebsocketRails.setup do |config| | ||
17 | # Start the standalone server with rake websocket_rails:start_server | 17 | # Start the standalone server with rake websocket_rails:start_server |
18 | # * Requires Redis | 18 | # * Requires Redis |
19 | config.standalone = true | 19 | config.standalone = true |
20 | - config.standalone_port = 110 | 20 | + config.standalone_port = 80 |
21 | 21 | ||
22 | # Change to true to enable channel synchronization between | 22 | # Change to true to enable channel synchronization between |
23 | # multiple server instances. | 23 | # multiple server instances. |