commit | 705b74ae6a1af0356ae011532fa8391204314648 | [log] [tgz] |
---|---|---|
author | Nils Diewald <nils@diewald-online.de> | Thu May 07 23:57:34 2015 +0000 |
committer | Nils Diewald <nils@diewald-online.de> | Thu May 07 23:57:34 2015 +0000 |
tree | a4632b35a5fd7359c5f868df7ca474c6202a1190 | |
parent | a0defc4c9ec6111890bf86f97be4c22b2129f817 [diff] |
Adjustments for subdirectory serving (2)
diff --git a/lib/Kalamar.pm b/lib/Kalamar.pm index 10d2e53..9e27648 100644 --- a/lib/Kalamar.pm +++ b/lib/Kalamar.pm
@@ -25,6 +25,7 @@ my $host = $c->req->headers->header('X-Forwarded-Host'); if ($host && $host eq 'korap.ids-mannheim.de') { $c->req->url->base->path('/kalamar/'); + $c->stash(prefix => '/kalamar'); }; }) if $self->mode eq 'production';