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 CABUevEyFhSzPWT86DVP10Nst14sqKVT0i31fMB69T6n_dTR0-g@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives  (Célestin Matte <celestin.matte@cmatte.me>)
List pgsql-www
On Wed, Oct 27, 2021 at 11:45 AM Célestin Matte
<celestin.matte@cmatte.me> wrote:
>
> > This patch adds a new parameter ARCHIVES_FRONT_ADDRESS, which is then never used. Instead it passes in
ARCHIVES_SEARCH_SERVERinto the templates. 
> >
> > I'm pretty sure that's not intentional? They should both b ARCHIVES_FRONT_ADDRESS?
>
> Oops, indeed, this is the product of a failed git merge --squash.
>
> Fixed patch attached.

Finally cycling back to this one, sorry about the long delay. This
does look much better, applied with th modification that it should
take the whole URL and not just the hostname -- which maks it work
better in development for example.

--
 Magnus Hagander
 Me: https://www.hagander.net/
 Work: https://www.redpill-linpro.com/



pgsql-www by date:

Previous
From: Christophe Pettus
Date:
Subject: Re: Wiki editor request - username timm
Next
From: Magnus Hagander
Date:
Subject: Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives