git: d0fd2114bb - main - our main homepage runs only with HTTPS protocol

From: Wolfram Schneider <wosch_at_FreeBSD.org>
Date: Sat, 28 Jan 2023 12:53:32 UTC
The branch main has been updated by wosch:

URL: https://cgit.FreeBSD.org/doc/commit/?id=d0fd2114bbd86f88a7bbfb2fcdbea227eca508ce

commit d0fd2114bbd86f88a7bbfb2fcdbea227eca508ce
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2023-01-28 12:52:40 +0000
Commit:     Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2023-01-28 12:52:40 +0000

    our main homepage runs only with HTTPS protocol
---
 website/content/en/cgi/cgi-style.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/website/content/en/cgi/cgi-style.pl b/website/content/en/cgi/cgi-style.pl
index 5701a1bcdc..46f6aa126f 100644
--- a/website/content/en/cgi/cgi-style.pl
+++ b/website/content/en/cgi/cgi-style.pl
@@ -16,7 +16,7 @@ if (!defined($hsty_base)) {
     if (!defined($ENV{'HTTP_HOST'}) ||
 	$ENV{'HTTP_HOST'} =~ /(docs|man|man-dev|people|ports).freebsd.org/i) {
 
-	$hsty_base = '//www.FreeBSD.org'
+	$hsty_base = 'https://www.FreeBSD.org'
     } else {
 	$hsty_base = '..';
     }