Skip to content

Commit

Permalink
Use rack server.options writer properly in bin/fishwife
Browse files Browse the repository at this point in the history
Previously this was relying on in-place mutation which is no longer
supported in rack 2.0

github: #20
  • Loading branch information
dekellum committed Jul 19, 2018
1 parent 6603d08 commit ffcfe5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/fishwife
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,7 @@ end
require 'fishwife'

server = Rack::Server.new
server.options[:server] = 'Fishwife'
opts = server.options
opts[:server] = 'Fishwife'
server.options = opts
server.start

0 comments on commit ffcfe5c

Please sign in to comment.