git: 14a267f652 - main - Make "which subdomains" comment reflect current code and future-proof it
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Feb 2023 17:50:53 UTC
The branch main has been updated by pauamma:
URL: https://cgit.FreeBSD.org/doc/commit/?id=14a267f652a6164d1d8c453ce19424ad7f324b49
commit 14a267f652a6164d1d8c453ce19424ad7f324b49
Author: Pau Amma <pauamma@FreeBSD.org>
AuthorDate: 2023-02-22 02:09:15 +0000
Commit: Pau Amma <pauamma@FreeBSD.org>
CommitDate: 2023-02-22 17:47:45 +0000
Make "which subdomains" comment reflect current code and future-proof it
Discussed with dbaio.
Reviewed by: dbaio, carlavilla
Approved by: carlavilla (mentor)
Differential Revision: https://reviews.freebsd.org/D38720
---
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 5bf069fde6..83d200cecc 100644
--- a/website/content/en/cgi/cgi-style.pl
+++ b/website/content/en/cgi/cgi-style.pl
@@ -12,7 +12,7 @@ if (!defined($hsty_base)) {
# $hsty_base should be relative if possible, so that mirrors
# serve their local copy instead of going to the main site.
# However, if we aren't running as a cgi, or if we're
- # running on cgi, hub, docs or people, use the absolute home path.
+ # running on one of the subdomains listed below, use the absolute home path.
if (!defined($ENV{'HTTP_HOST'}) ||
$ENV{'HTTP_HOST'} =~ /(docs|docs-archive|mail-archive|man|man-dev|people|ports).freebsd.org/i) {