Don't request __middleman__
This commit is contained in:
parent
888ee078cc
commit
1f22184fc7
|
@ -97,9 +97,7 @@ module Middleman::Cli
|
|||
def shared_rack
|
||||
@_shared_rack ||= begin
|
||||
mock = ::Rack::MockSession.new(shared_server.to_rack_app)
|
||||
sess = ::Rack::Test::Session.new(mock)
|
||||
response = sess.get("__middleman__")
|
||||
sess
|
||||
::Rack::Test::Session.new(mock)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue