From 205f67d4d7bedbec0901e8b9b586844fd0b2a28d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 12 Apr 2024 06:59:04 +0000 Subject: 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) --- Documentation/mknews.perl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Documentation/mknews.perl') diff --git a/Documentation/mknews.perl b/Documentation/mknews.perl index 68866f44..001ad310 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); -- cgit v1.2.3-24-ge0c7