From 95f13322b3af94317c0198e7eb816d1dafc691e1 Mon Sep 17 00:00:00 2001 From: Mason James Date: Wed, 24 May 2017 15:40:39 +1200 Subject: [PATCH] Revert "Bug 16733: [Follow-up] Add $home to api path too" This reverts commit 2197f64e113b3c9c81b9075b86700346061584ac. --- debian/templates/plack.psgi | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/debian/templates/plack.psgi b/debian/templates/plack.psgi index e712911361..a4df05b798 100644 --- a/debian/templates/plack.psgi +++ b/debian/templates/plack.psgi @@ -57,11 +57,10 @@ my $intranet = Plack::App::CGIBin->new( my $opac = Plack::App::CGIBin->new( root => $ENV{DEV_INSTALL}? "$home/opac": "$home/opac/cgi-bin/opac" )->to_app; -my $apiv1 = builder { - my $server = Mojo::Server::PSGI->new; - $server->load_app("$home/api/v1/app.pl"); - $server->to_psgi_app; -}; + +# my $api = Plack::App::CGIBin->new( +# root => '/usr/share/koha/api/' +# )->to_app; builder { -- 2.39.5