forked from lix-project/hydra
Construct uri using uri_for, which respects X-Request-Base.
This commit is contained in:
parent
d7a123fcd4
commit
d9a4f7a211
|
@ -168,7 +168,7 @@ sub showLog {
|
|||
}
|
||||
|
||||
elsif ($mode eq "tail-reload") {
|
||||
my $url = $c->request->uri->as_string;
|
||||
my $url = $c->uri_for($c->request->uri->path);
|
||||
$url =~ s/tail-reload/tail/g;
|
||||
$c->stash->{url} = $url;
|
||||
$c->stash->{reload} = !$c->stash->{build}->finished;
|
||||
|
|
Loading…
Reference in a new issue