summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Plack/Client.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Plack/Client.pm b/lib/Plack/Client.pm
index f9482b6..cc61ef7 100644
--- a/lib/Plack/Client.pm
+++ b/lib/Plack/Client.pm
@@ -39,7 +39,7 @@ sub request {
# both Plack::Request and HTTP::Request have a ->uri method
my $scheme = $req->uri->scheme;
my $app;
- if ($scheme eq 'psgi') {
+ if ($scheme eq 'psgi-local') {
$req->uri->path('/') unless length $req->uri->path;
$app = $self->app_for($req->uri->authority);
}