Skip to content

Commit

Permalink
add thin handler in server
Browse files Browse the repository at this point in the history
Because the rack handler for thin is restored: macournoyer/thin@b201525
  • Loading branch information
namusyaka committed Sep 4, 2020
1 parent 833e92a commit 342758a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/sinatra/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1848,6 +1848,7 @@ class << self
server.unshift 'reel'
server.unshift 'puma'
server.unshift 'mongrel' if ruby_engine.nil?
server.unshift 'thin' if ruby_engine != 'jruby'
server.unshift 'trinidad' if ruby_engine == 'jruby'
end

Expand Down

0 comments on commit 342758a

Please sign in to comment.