lib/danthes.rb in danthes-2.0.0 vs lib/danthes.rb in danthes-2.0.1

- old
+ new

@@ -107,10 +107,14 @@ timestamp < ((Time.now.to_f - config[:signature_expiration]) * 1000).round end # Returns the Faye Rack application. def faye_app - ::Faye::RackAdapter.new(config) + rack_config = {} + [:engine, :mount, :ping, :timeout, :extensions, :websocket_extensions ].each do |k| + rack_config[k] = config[k] if config[k] + end + ::Faye::RackAdapter.new(rack_config) end end startup end