From: Eric Wong Date: Fri, 12 Apr 2024 06:59:04 +0000 (+0000) Subject: doc: mknews: fix warnings when generating NEWS.html X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=205f67d4d7bedbec0901e8b9b586844fd0b2a28d;p=thirdparty%2Fpublic-inbox.git doc: mknews: fix warnings when generating NEWS.html We need these values in the PSGI $env to generate the cache key, even if we're not linkifying anything. Fixes: 48cbe0c3 (www: linkify inbox addresses in To/Cc headers, 2024-01-09) --- diff --git a/Documentation/mknews.perl b/Documentation/mknews.perl index 68866f44f..001ad3102 100755 --- a/Documentation/mknews.perl +++ b/Documentation/mknews.perl @@ -47,6 +47,10 @@ if ($dst eq 'NEWS') { -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);