From 57568b9a0bf38706e41580e5a9e48777793c00ac 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: Kyle M Hall --- 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