From c15cf2a47cc753c526abfa54b6e9ace439f71d63 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 12 Sep 2016 12:22:05 +0200 Subject: [PATCH] Bug 16733: [Follow-up] Add $home to api path too In the meantime api was enabled in plack.psgi and needs a little tweak too for a dev install. Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer --- debian/templates/plack.psgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/templates/plack.psgi b/debian/templates/plack.psgi index 1ed4acb93e..3538b9a5a1 100644 --- a/debian/templates/plack.psgi +++ b/debian/templates/plack.psgi @@ -61,7 +61,7 @@ my $opac = Plack::App::CGIBin->new( my $apiv1 = builder { my $server = Mojo::Server::PSGI->new; - $server->load_app('/usr/share/koha/api/v1/app.pl'); + $server->load_app("$home/api/v1/app.pl"); $server->to_psgi_app; }; -- 2.39.5