learnyouahaskell / learnyouahaskell.github.io

A community version of the renowned "Learn You a Haskell" (LYAH) tutorials collection!
https://learnyouahaskell.github.io
Other
317 stars 39 forks source link

Problem with CSS on learnyouahaskell.com #61

Closed strump closed 9 months ago

strump commented 9 months ago

Describe the bug CSS style are not loaded on learnyouahaskell.com website. You have <base href="http://learnyouahaskell.com/"> in HTML code. But website works over HTTPS. Because of that browser can't load http://learnyouahaskell.com/style.css and gives an error:

Mixed Content: The page at 'https://learnyouahaskell.com/functors-applicative-functors-and-monoids' was loaded over HTTPS, but requested an insecure stylesheet 'http://learnyouahaskell.com/style.css'. This request has been blocked; the content must be served over HTTPS.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://learnyouahaskell.com/functors-applicative-functors-and-monoids' using Chrome

Actual behavior

Screenshot 2024-01-31 at 09 51 43

Desktop (please complete the following information):

smith558 commented 9 months ago

Thank you for your report! You are not using the open-source community version https://learnyouahaskell.github.io/ (ours) but the older original version which we do not have any control over. Make sure to use the new version. 🙂