projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08ece51
)
Bug 16733: [Follow-up] Add $home to api path too
author
Marcel de Rooy
<m.de.rooy@rijksmuseum.nl>
Mon, 12 Sep 2016 10:22:05 +0000
(12:22 +0200)
committer
Kyle M Hall
<kyle@bywatersolutions.com>
Fri, 20 Jan 2017 14:15:27 +0000
(14:15 +0000)
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: Kyle M Hall <kyle@bywatersolutions.com>
debian/templates/plack.psgi
patch
|
blob
|
history
diff --git
a/debian/templates/plack.psgi
b/debian/templates/plack.psgi
index
1ed4acb
..
3538b9a
100644
(file)
--- 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;
};