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:
parent
d8bec11334
commit
c15cf2a47c
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue