X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=lib%2FPublicInbox%2FFeed.pm;h=ffbf5c8062bb2121e2a0eeaca1dd517d7c8d01e6;hp=2f141c4413b9473e0f4ee3cdaaaa692633a95428;hb=e358bd7a3833f8c5bf9db57d228888f9c5f3692e;hpb=0f9091f381191484f1a5ed5189d23cbfa88de6fc diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm index 2f141c44..ffbf5c80 100644 --- a/lib/PublicInbox/Feed.pm +++ b/lib/PublicInbox/Feed.pm @@ -297,13 +297,11 @@ sub get_feedopts { my $pi_config = $ctx->{pi_config}; my $inbox = $ctx->{inbox}; my $obj = $ctx->{-inbox}; - my $cgi = $ctx->{cgi}; my %rv = ( description => $obj->description ); $rv{address} = $obj->{address}; $rv{id_addr} = $obj->{-primary_address}; - my $url_base; - $url_base = $obj->base_url($cgi); # CGI may be undef + my $url_base = $obj->base_url($ctx->{env}); if (my $mid = $ctx->{mid}) { # per-thread feed: $rv{atomurl} = "$url_base$mid/t.atom"; } else {