diff --git a/lib/hotwire/spark/action_cable/server.rb b/lib/hotwire/spark/action_cable/server.rb index 8910906..20058d5 100644 --- a/lib/hotwire/spark/action_cable/server.rb +++ b/lib/hotwire/spark/action_cable/server.rb @@ -1,5 +1,5 @@ class Hotwire::Spark::ActionCable::Server < ActionCable::Server::Base - def initialize(config: nil) + def initialize config = ::ActionCable::Server::Base.config.dup config.connection_class = -> { ::ActionCable::Connection::Base } super(config: config)