HTTP CSS Import

Found a bug? Tell us!!
Post Reply
peterpk
Posts: 4
Joined: Thu Aug 19, 2021 4:11 pm

HTTP CSS Import

Post by peterpk »

Hi guys,

I have a website running s9y and it its awesome.

But I have a problem regarding http and https.

If I load the website in http, it works properly.
But when I use https it breaks my css, the issue is when s9y generates the pages, it generates the css declaration with "http" and the console spits out " This request has been blocked; the content must be served over HTTPS."

I did some digging and found serendipity.css.php which I think is the file that generates this code, but I cant find the way to force the css to be loaded via https.

Can you guys help me?
erAck
Regular
Posts: 236
Joined: Mon Feb 16, 2015 1:20 am

Re: HTTP CSS Import

Post by erAck »

Check under Configuration -> Paths, URL to blog that the URL starts with https.
peterpk
Posts: 4
Joined: Thu Aug 19, 2021 4:11 pm

Re: HTTP CSS Import

Post by peterpk »

erAck wrote: Thu Aug 19, 2021 11:31 pm Check under Configuration -> Paths, URL to blog that the URL starts with https.
Thanks! This works!
Post Reply