We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0166e20 commit 8d2cc6aCopy full SHA for 8d2cc6a
lib/MetaCPAN/API.pm
@@ -26,10 +26,6 @@ use MetaCPAN::Script::Runner ();
26
use Search::Elasticsearch ();
27
use Try::Tiny qw( catch try );
28
29
-# MountPSGI doesn't set PLACK_ENV, so Plack::Util::load_psgi defaults to development.
30
-# Hack around that until MountPSGI is fixed.
31
-$ENV{PLACK_ENV} ||= $ENV{'MOJO_MODE'} || 'development';
32
-
33
has es => sub {
34
return Search::Elasticsearch->new(
35
client => '2_0::Direct',
0 commit comments