From a0d8ccadf679059770e75b2b25b8fad57e6a2138 Mon Sep 17 00:00:00 2001 From: Guuq <50501321+Guuq@users.noreply.github.com> Date: Mon, 28 Oct 2019 17:11:44 +0100 Subject: [PATCH] Https update --- README.md | 1 - resources/javall.js | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3c2db07..d5c2736 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,2 @@ # Guusvanmeerveld.github.io -My first website This website is being made by just me, because I really like building website and working with html and javascript. It's also a project for school so that is why I am really doing my best for this project. diff --git a/resources/javall.js b/resources/javall.js index 8032a8e..9320d30 100644 --- a/resources/javall.js +++ b/resources/javall.js @@ -26,6 +26,6 @@ var shortcon = $("", {rel :'shortcut icon',href:'/resources/img/favicon.ic $('head').append(shortcon) // Https -// if (location.protocol == "http:" && location.port !== "3000" && location.host !== "guusvanmeerveld.online") { -// location.protocol = "https:" -// } +if (location.protocol == "http:" && location.port !== "3000" && location.host !== "guusvanmeerveld.online") { + location.protocol = "https:" +}