This ensures URLs are generated properly and avoids undefined
variable warnings.
---
 Will squash this into 9/10 <[email protected]>

 lib/PublicInbox/WwwStream.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/PublicInbox/WwwStream.pm b/lib/PublicInbox/WwwStream.pm
index ccac5e8b..f5b4df9f 100644
--- a/lib/PublicInbox/WwwStream.pm
+++ b/lib/PublicInbox/WwwStream.pm
@@ -100,7 +100,7 @@ sub coderepos ($) {
                $ctx->{ibx}->thing_type . "\n");
        my $objs = $cfg->repo_objs($ctx->{ibx});
        for my $git (@$objs) {
-               my @urls = $git->pub_urls;
+               my @urls = $git->pub_urls($ctx->{env});
                for (@urls) {
                        my $u = m!\A(?:[a-z\+]+:)?//! ? $_ : $pfx.$_;
                        $u = ascii_html(prurl($ctx->{env}, $u));

Reply via email to