diff options
author | Eric Wong <e@80x24.org> | 2024-04-12 06:59:04 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2024-04-12 17:46:12 +0000 |
commit | 205f67d4d7bedbec0901e8b9b586844fd0b2a28d (patch) | |
tree | d0a16823ba4988d8b16c16478b68f2e4735ae237 /Documentation | |
parent | 873066744d1b105da4cfafb1c7312ca11b579864 (diff) | |
download | public-inbox-205f67d4d7bedbec0901e8b9b586844fd0b2a28d.tar.gz |
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)
Diffstat (limited to 'Documentation')
-rwxr-xr-x | Documentation/mknews.perl | 4 |
1 files changed, 4 insertions, 0 deletions
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); |