[PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives

From: Célestin Matte <celestin(dot)matte(at)cmatte(dot)me>
To: PostgreSQL WWW <pgsql-www(at)lists(dot)postgresql(dot)org>
Subject: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives
Date: 2021-10-26 14:34:47
Message-ID: 6945e6fc-0006-454e-079f-f7b91af2be22@cmatte.me
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Hello,

Domain of messages in pgweb's search is currently hardcoded as postgresql.org
in templates/search/listsearch.html. This patch allows to use another domain
for links to messages in archives in the search function.
Since pgarchives' domain can differ from pgweb's one, a new variable is defined
for that purpose instead of using SITE_ROOT.

Cheers,
--
Célestin Matte

Attachment Content-Type Size
0001-Add-ARCHIVES_FRONT_ADDRESS-to-allow-configuration-of.patch text/x-patch 3.7 KB

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Célestin Matte 2021-10-26 18:31:46 Re: [PATCH] pgarchives: Bugfix: allow message's parentid to be null
Previous Message Célestin Matte 2021-10-25 16:19:49 Re: [PATCH] pgweb: Search: bugfix: replace sites.baseurl with sites.hostname