Re: [PATCH] pgweb: Search: bugfix: replace sites.baseurl with sites.hostname - Mailing list pgsql-www

From Magnus Hagander
Subject Re: [PATCH] pgweb: Search: bugfix: replace sites.baseurl with sites.hostname
Date
Msg-id CABUevEw6rNMzaZPooV+WPZ9RTn9af9WLqFD-vR_RCYL56HJapQ@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] pgweb: Search: bugfix: replace sites.baseurl with sites.hostname  (Célestin Matte <celestin.matte@cmatte.me>)
List pgsql-www
On Mon, Oct 25, 2021 at 6:19 PM Célestin Matte <celestin.matte@cmatte.me> wrote:
Hello,

> But short term, I believe the correct thing to do is to add the baseurl field to the table in the SQL file. I'll go push a patch taht does that.

This broke data.sql as baseurl is NOT NULL. Attached patch fixes that.
This might have also broken the crawler but I haven't installed it to test that.

Indeed it does. Oops.

That said, most of that file are not-current examples, and should just be cleaned out, so I'll do that while fixing this.

Yeah, another sign that this needs some proper spring cleaning to get rid of configuration of the flexibility that we don't care about. But tihs one for now, to unbreak things short-term.

--

pgsql-www by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: [PATCH] pgarchives: Allow use of IP ranges for SEARCH_CLIENTS
Next
From: Magnus Hagander
Date:
Subject: Re: [PATCH] pgarchives: Bugfix: allow message's parentid to be null