https for PyLadies Dublin github page?
whykay π©π»βπ»ππ³οΈβπ (she/her)
Posted on July 2, 2020
PyLadies Dublin new landing page
whykay π©π»βπ»ππ³οΈβπ (she/her) for PyLadies Dublin γ» Jul 1 '20
#pyladies
#bootstrap
#gitpages
It's all working except one thing. Lynn Root (who has been so awesome helping me out) pointed out that I should enable "Enforce HTTPSβ field in the github settings thatβs right below the adding of βCustom Domainβ.
I went to have a look and found that I was unable to, as it said unavailable for your site because your domain is not properly configured to support HTTPS. Which was kinda weird.
Long story short... Lynn suggested a workaround by adding the following in <head>
section of my index.html and it worked.
<script>if (window.location.protocol != "https:" && window.location.host.indexOf('pyladies.com') > -1) {
window.location.protocol = "https";
}</script>
π πͺ π
π©
whykay π©π»βπ»ππ³οΈβπ (she/her)
Posted on July 2, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.