]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
doc: fix NEWS.html generation
authorEric Wong <e@80x24.org>
Sun, 15 Sep 2024 19:32:01 +0000 (19:32 +0000)
committerEric Wong <e@80x24.org>
Mon, 16 Sep 2024 21:00:48 +0000 (21:00 +0000)
`make check' reveals this failure, but I normally use
the faster `make check-run' which doesn't.

Fixes: bbe582cdfa42 (view: fix addr2urlmap with Plack::Builder::mount, 2024-09-13)
Documentation/mknews.perl

index da29cfac964e02e16a19fd43dd79de08e91c55cb..07e77ebef8c1a59b5f03858243dfb62020cd9e8c 100755 (executable)
@@ -51,7 +51,15 @@ if ($dst eq 'NEWS') {
                        HTTP_HOST => 'public-inbox.org',
                        'psgi.url_scheme' => 'https',
                },
+               www => {
+                       pi_cfg => {
+                               -by_addr => { # for addr2urlmap
+                                       'meta@public-inbox.org' => $ibx,
+                               }
+                       }
+               }
        };
+       PublicInbox::View::addr2urlmap $ctx;
        if ($dst eq 'NEWS.html') {
                html_start($out, $ctx);
                mime2html($out, $mime_latest, $ctx);