1
0
Fork 0
mirror of https://github.com/NixOS/hydra.git synced 2024-10-17 16:37:26 -04:00

Use full path and include following extra path parts on latest-outpath.

This commit is contained in:
Kevin Quick 2018-10-19 09:51:58 -07:00
parent d4d9352fa3
commit 493b002a32

View file

@ -68,7 +68,7 @@ sub latest_outpath : Chained('get_builds') PathPart('latest-outpath') {
notFound($c, "There is no successful build to redirect to.") unless defined $latest;
$c->res->redirect(($latest->buildoutputs)[0]->path);
$c->res->redirect($c->uri_for(($latest->buildoutputs)[0]->path, @rest));
}