Re: Queries regarding staticfiles | pgarchives - Mailing list pgsql-www

From Sahil Harpal
Subject Re: Queries regarding staticfiles | pgarchives
Date
Msg-id CAKi=nndEBaOb6jxUh-Z_PrDyBYLSajnDv=KjBnvo2FtA-T-ZCA@mail.gmail.com
Whole thread Raw
In response to Re: Queries regarding staticfiles | pgarchives  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Queries regarding staticfiles | pgarchives  (Magnus Hagander <magnus@hagander.net>)
List pgsql-www
On Wed, 15 Jun 2022 at 02:52, Magnus Hagander <magnus@hagander.net> wrote:
As I said, you need to make the folder /media/ be served up as /media-static/. This is configuration in your webserver.
 
Could you please help me to do this? Like where and what I need to change.

Um. There is no reference from https://www.postgresql.org/list/ to main.css in media-archives that I can see?

Yeah, with the help of /dyncss/ the base.css = (main.css+normalize.css) of pgweb gets loaded after visiting /list/.
Now I am just confused about what exactly happens when someone opens  https://www.postgresql.org/list/ in the browser? How is HTML loading? If it is using CSS files of pgweb then why do we have CSS files in the /media/css/ of pgarchives :(

pgsql-www by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Queries regarding staticfiles | pgarchives
Next
From: Magnus Hagander
Date:
Subject: Re: Queries regarding staticfiles | pgarchives