Commit b5b6f1165f3c2536244480334d77c504bdc83eaf
1 parent
d74ca6a5
Exists in
master
and in
1 other branch
trying to fix websocket error
Showing
3 changed files
with
7 additions
and
2 deletions
Show diff stats
Gemfile.lock
... | ... | @@ -137,9 +137,12 @@ GEM |
137 | 137 | dotenv-rails (0.7.0) |
138 | 138 | dotenv (= 0.7.0) |
139 | 139 | em-synchrony (1.0.3) |
140 | + eventmachine (>= 1.0.0.beta.1) | |
140 | 141 | em-websocket (0.5.1) |
142 | + eventmachine (>= 0.12.9) | |
141 | 143 | http_parser.rb (~> 0.6.0) |
142 | 144 | erubis (2.7.0) |
145 | + eventmachine (1.2.0.1) | |
143 | 146 | execjs (2.0.2) |
144 | 147 | factory_girl (4.4.0) |
145 | 148 | activesupport (>= 3.0.0) |
... | ... | @@ -149,6 +152,7 @@ GEM |
149 | 152 | faker (1.3.0) |
150 | 153 | i18n (~> 0.5) |
151 | 154 | faye-websocket (0.10.0) |
155 | + eventmachine (>= 0.12.0) | |
152 | 156 | websocket-driver (>= 0.5.1) |
153 | 157 | ffi (1.9.3) |
154 | 158 | foreman (0.66.0) |
... | ... | @@ -380,6 +384,7 @@ GEM |
380 | 384 | libv8 (~> 3.16.14.0) |
381 | 385 | ref |
382 | 386 | thin (1.6.2) |
387 | + eventmachine (>= 1.0.0) | |
383 | 388 | daemons (>= 1.0.9) |
384 | 389 | rack (>= 1.0.0) |
385 | 390 | thor (0.19.1) | ... | ... |
app/assets/javascripts/v_libras/videos/index.js.erb
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 = 80 | |
20 | + config.standalone_port = 443 | |
21 | 21 | |
22 | 22 | # Change to true to enable channel synchronization between |
23 | 23 | # multiple server instances. | ... | ... |