forked from lix-project/hydra
Merge pull request #271 from gulrotkake/master
Construct uri using uri_for, which respects X-Request-Base.
This commit is contained in:
commit
633381a501
|
@ -168,7 +168,7 @@ sub showLog {
|
||||||
}
|
}
|
||||||
|
|
||||||
elsif ($mode eq "tail-reload") {
|
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;
|
$url =~ s/tail-reload/tail/g;
|
||||||
$c->stash->{url} = $url;
|
$c->stash->{url} = $url;
|
||||||
$c->stash->{reload} = !$c->stash->{build}->finished;
|
$c->stash->{reload} = !$c->stash->{build}->finished;
|
||||||
|
|
Loading…
Reference in a new issue