Re: [PATCH] pgweb: Search: bugfix: replace sites.baseurl with sites.hostname

From: Célestin Matte <celestin(dot)matte(at)cmatte(dot)me>
To: pgsql-www(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] pgweb: Search: bugfix: replace sites.baseurl with sites.hostname
Date: 2021-10-25 16:19:49
Message-ID: 3ee3217a-b014-7601-47f5-775428d1e39d@cmatte.me
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

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.

Cheers,
--
Célestin Matte

Attachment Content-Type Size
0001-Fix-data.sql-after-addition-of-baseurl-in-52455885.patch text/x-patch 1.4 KB

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Célestin Matte 2021-10-26 14:34:47 [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives
Previous Message Célestin Matte 2021-10-25 15:25:37 Re: [PATCH] pgarchives: Allow use of IP ranges for SEARCH_CLIENTS