[extindex "all"]
topdir = $tmpdir/eidx
url = http://bogus.example.com/all
+[publicinbox]
+ wwwlisting = all
EOM
}
my $www = PublicInbox::WWW->new(PublicInbox::Config->new($pi_config));
$res = $cb->(GET('/all/all.mbox.gz'));
is($res->code, 200, 'all.mbox.gz');
+
+ $res = $cb->(GET('/'));
+ my $html = $res->content;
+ like($html, qr!\Qhttp://bogus.example.com/all\E!, 'html shows /all');
};
test_psgi(sub { $www->call(@_) }, $client);
%$env = (%$env, TMPDIR => $tmpdir, PI_CONFIG => $pi_config);