mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Coerce the key to a string before checking. (thar be symbols). Fixes #684
This commit is contained in:
parent
a3af7ba7ab
commit
b8c087d967
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ module Puma
|
|||
@options.merge!(rack_options)
|
||||
|
||||
config_ru_binds = rack_options.each_with_object([]) do |(k, v), b|
|
||||
b << v if k.start_with?('bind')
|
||||
b << v if k.to_s[0,4] == "bind"
|
||||
end
|
||||
@options[:binds] = config_ru_binds unless config_ru_binds.empty?
|
||||
|
||||
|
|
Loading…
Reference in a new issue