diff --git a/_components/navbar.php b/_components/navbar.php index 9907bb3..2b21e3f 100644 --- a/_components/navbar.php +++ b/_components/navbar.php @@ -30,4 +30,10 @@ $path = strtok($_SERVER["REQUEST_URI"], '?'); { elm.onclick = (event) => { event.preventDefault() }; }); + + // User-facing stuff really has no reason to be served over insecure HTTP. + if (location.host == "openwf.io" && location.protocol == "http:") + { + location.protocol = "https:"; + } \ No newline at end of file