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:
parent
d4d9352fa3
commit
493b002a32
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue