Skip to content

Commit

Permalink
request.body.rewind works when Steam is used within a Rails application
Browse files Browse the repository at this point in the history
  • Loading branch information
did committed Oct 18, 2024
1 parent 42b94a0 commit ba10b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/locomotive/steam/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def default_middlewares
use Dragonfly::Middleware, :steam

use Rack::Lint
use Rack::RewindableInput::Middleware
use Rack::RewindableInput::Middleware unless ENV['RAILS_ENV']
use Rack::Session::Moneta, configuration.moneta

use Rack::MiniProfiler if ENV['PROFILER']
Expand Down

0 comments on commit ba10b57

Please sign in to comment.