Skip to content

Commit 765f09f

Browse files
darashiioquatix
authored andcommitted
Fix require path for websocket rack adapter.
1 parent 6cc4e91 commit 765f09f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

context/websockets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Falcon supports WebSockets using the [async-websocket gem](https://github.com/so
99
~~~ruby
1010
# config.ru
1111

12-
require "async/websocket/adapter/rack"
12+
require "async/websocket/adapters/rack"
1313

1414
run do |env|
1515
Async::WebSocket::Adapters::Rack.open(env, protocols: ['ws']) do |connection|

guides/websockets/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Falcon supports WebSockets using the [async-websocket gem](https://github.com/so
99
~~~ruby
1010
# config.ru
1111

12-
require "async/websocket/adapter/rack"
12+
require "async/websocket/adapters/rack"
1313

1414
run do |env|
1515
Async::WebSocket::Adapters::Rack.open(env, protocols: ['ws']) do |connection|

0 commit comments

Comments
 (0)