about summary refs log tree commit homepage
path: root/Documentation/mknews.perl
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/mknews.perl')
-rwxr-xr-xDocumentation/mknews.perl7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/mknews.perl b/Documentation/mknews.perl
index 1936cea7..001ad310 100755
--- a/Documentation/mknews.perl
+++ b/Documentation/mknews.perl
@@ -1,5 +1,5 @@
 #!/usr/bin/perl -w
-# Copyright (C) 2019-2021 all contributors <meta@public-inbox.org>
+# Copyright (C) all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 # Generates NEWS, NEWS.atom, and NEWS.html files using release emails
 # this uses unstable internal APIs of public-inbox, and this script
@@ -46,6 +46,11 @@ if ($dst eq 'NEWS') {
                 ibx => $ibx,
                 -upfx => "$base_url/",
                 -hr => 1,
+                zfh => $out,
+                env => {
+                        HTTP_HOST => 'public-inbox.org',
+                        'psgi.url_scheme' => 'https',
+                },
         };
         if ($dst eq 'NEWS.html') {
                 html_start($out, $ctx);