Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives - Mailing list pgsql-www

From Magnus Hagander
Subject Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives
Date
Msg-id CABUevEwD_qbzgJdZCrFvrfLDM+QVwKW+1RWSkB-xh97Oi+UZ7g@mail.gmail.com
Whole thread Raw
In response to [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives  (Célestin Matte <celestin.matte@cmatte.me>)
Responses Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives  (Célestin Matte <celestin.matte@cmatte.me>)
List pgsql-www
On Tue, Oct 26, 2021 at 4:34 PM Célestin Matte <celestin.matte@cmatte.me> wrote:
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.

This patch adds a new parameter ARCHIVES_FRONT_ADDRESS, which is then never used. Instead it passes in ARCHIVES_SEARCH_SERVER into the templates.

I'm pretty sure that's not intentional? They should both b ARCHIVES_FRONT_ADDRESS?

--

pgsql-www by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: [PATCH] pgarchives: Bugfix: allow message's parentid to be null
Next
From: Célestin Matte
Date:
Subject: Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives