diff options
author | Eric Wong <e@80x24.org> | 2021-08-28 11:50:06 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-08-30 22:44:12 +0000 |
commit | 5b96edcb1e0d825244d5a12470e0f32526262611 (patch) | |
tree | 815c273a564f6d3d53033f5cd8d9c01fd08dc372 /lib/PublicInbox/WwwListing.pm | |
parent | b587bfbcbff710dc9667af85be6a2a619f918273 (diff) | |
download | public-inbox-5b96edcb1e0d825244d5a12470e0f32526262611.tar.gz |
This makes the mirroring and code retrieval instructions less obstructive. Relying on WwwText means we only use our Linkify module to make hrefs of full URLs; making relative and shortened hrefs off-limits; hopefully this isn't too much of a problem. coderepo information remains duplicated on every page since (IMHO) coderepos are an important feature; but nobody besides me has ever bothered to configure coderepos, so I suppose it's fine... Suggested-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org> Link: https://public-inbox.org/meta/20210826132747.6gxuwnhftyf7c6hp@nitro.local/
Diffstat (limited to 'lib/PublicInbox/WwwListing.pm')
-rw-r--r-- | lib/PublicInbox/WwwListing.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/PublicInbox/WwwListing.pm b/lib/PublicInbox/WwwListing.pm index ef9048b5..c3779619 100644 --- a/lib/PublicInbox/WwwListing.pm +++ b/lib/PublicInbox/WwwListing.pm @@ -226,9 +226,7 @@ sub psgi_triple { } else { $gzf->zmore('<pre>no inboxes, yet'); } - my $out = $gzf->zflush('</pre><hr><pre>'. - PublicInbox::WwwStream::code_footer($ctx->{env}) . - '</pre></body></html>'); + my $out = $gzf->zflush('</pre></body></html>'); $h->[3] = length($out); [ $code, $h, [ $out ] ]; } |