X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=lib%2FPublicInbox%2FWwwStream.pm;h=be9e762e6e334d575899864db4fc30ac89226a17;hb=a5968dc059f655a9ac62f1b8bf0bed2b90080b02;hp=958251a347d55edc89a8501773e325c90460749e;hpb=37526779e4c544b134af74f43d6c26569cb8e466;p=public-inbox.git
diff --git a/lib/PublicInbox/WwwStream.pm b/lib/PublicInbox/WwwStream.pm
index 958251a3..be9e762e 100644
--- a/lib/PublicInbox/WwwStream.pm
+++ b/lib/PublicInbox/WwwStream.pm
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020 all contributors
+# Copyright (C) 2016-2021 all contributors
# License: AGPL-3.0+
#
# HTML body stream for which yields getline+close methods for
@@ -40,8 +40,8 @@ sub html_top ($) {
my $desc = ascii_html($ibx->description);
my $title = delete($ctx->{-title_html}) // $desc;
my $upfx = $ctx->{-upfx} || '';
- my $help = $upfx.'_/text/help';
- my $color = $upfx.'_/text/color';
+ my $help = $upfx.'_/text/help/';
+ my $color = $upfx.'_/text/color/';
my $atom = $ctx->{-atom} || $upfx.'new.atom';
my $top = "$desc";
if (my $t_max = $ctx->{-t_max}) {
@@ -84,7 +84,7 @@ sub coderepos ($) {
my $upfx = ($ctx->{-upfx} // ''). '../';
my @ret;
for my $cr_name (@$cr) {
- my $urls = $cfg->{"coderepo.$cr_name.cgiturl"} // next;
+ my $urls = $cfg->get_all("coderepo.$cr_name.cgiturl") // next;
$ret[0] //= <