lib/jets/middleware/default_stack.rb in jets-1.9.24 vs lib/jets/middleware/default_stack.rb in jets-1.9.25
- old
+ new
@@ -12,10 +12,10 @@
middleware.use Rack::Runtime
middleware.use Jets::Controller::Middleware::Cors if cors_enabled?
middleware.use Rack::MethodOverride # must come before Middleware::Local for multipart post forms to work
middleware.use Jets::Controller::Middleware::Reloader if Jets.env.development?
middleware.use Jets::Controller::Middleware::Local # mimics AWS Lambda for local server only
- middleware.use session_store, session_options # use session_store, session_options
+ middleware.use session_store, session_options
middleware.use Rack::Head
middleware.use Rack::ConditionalGet
middleware.use Rack::ETag
use_webpacker(middleware)
end