From f06671307022d483eb4a04599bd15f5d272a12ce Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 10 Aug 2024 09:00:06 +0000 Subject: [PATCH] www_text: show indexheader contents in help This will allow mirror-ers to see how indexing gets done and replicate the results on their end. --- lib/PublicInbox/WwwText.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PublicInbox/WwwText.pm b/lib/PublicInbox/WwwText.pm index d39083b68..20b221365 100644 --- a/lib/PublicInbox/WwwText.pm +++ b/lib/PublicInbox/WwwText.pm @@ -168,8 +168,8 @@ sub inbox_config ($$) { url = https://example.com/$name/ url = http://example.onion/$name/ EOS - for my $k (qw(address listid infourl watchheader)) { - defined(my $v = $ibx->{$k}) or next; + for my $k (qw(address listid infourl watchheader indexheader)) { + my $v = $ibx->{$k} // next; $$txt .= "\t$k = $_\n" for @$v; } if (my $altid = $ibx->{altid}) { -- 2.47.3