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 <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
This commit is contained in:
Marcel de Rooy 2016-09-12 12:22:05 +02:00 committed by Katrin Fischer
parent d8bec11334
commit c15cf2a47c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
};