mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Fix server handler not found errors w/ webrick [#231]
This commit is contained in:
parent
3d2988c66b
commit
6d76fb6104
1 changed files with 1 additions and 1 deletions
|
@ -922,7 +922,7 @@ module Sinatra
|
|||
servers = Array(self.server)
|
||||
servers.each do |server_name|
|
||||
begin
|
||||
return Rack::Handler.get(server_name.capitalize)
|
||||
return Rack::Handler.get(server_name.downcase)
|
||||
rescue LoadError
|
||||
rescue NameError
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue