From 6cf2b2c70509a7a0c92239af5d0978140f9ec674 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 7 Jan 2011 13:43:19 -0600 Subject: actually call to_app --- lib/Plack/Client.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Plack/Client.pm b/lib/Plack/Client.pm index ba12ba9..588ef69 100644 --- a/lib/Plack/Client.pm +++ b/lib/Plack/Client.pm @@ -81,7 +81,7 @@ sub new { bless { apps => $params{apps}, - proxy => Plack::App::Proxy->new, + proxy => Plack::App::Proxy->new->to_app, }, $class; } -- cgit v1.2.3