Re: Queries regarding staticfiles | pgarchives

From: Sahil Harpal <sahilharpal1234(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Queries regarding staticfiles | pgarchives
Date: 2022-06-15 03:38:05
Message-ID: CAKi=nndEBaOb6jxUh-Z_PrDyBYLSajnDv=KjBnvo2FtA-T-ZCA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Wed, 15 Jun 2022 at 02:52, Magnus Hagander <magnus(at)hagander(dot)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 :(

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Magnus Hagander 2022-06-15 17:13:25 Re: Queries regarding staticfiles | pgarchives
Previous Message Magnus Hagander 2022-06-14 21:22:39 Re: Queries regarding staticfiles | pgarchives