git: e4abf37f27 - main - cgi/cgi-style.pl: Remove mailarchive.ysv (not used)

From: Danilo G. Baio <dbaio_at_FreeBSD.org>
Date: Wed, 25 Jan 2023 19:20:20 UTC
The branch main has been updated by dbaio:

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

commit e4abf37f276addf9b64131fa368f29cfde34bef8
Author:     Danilo G. Baio <dbaio@FreeBSD.org>
AuthorDate: 2023-01-25 19:19:43 +0000
Commit:     Danilo G. Baio <dbaio@FreeBSD.org>
CommitDate: 2023-01-25 19:19:43 +0000

    cgi/cgi-style.pl: Remove mailarchive.ysv (not used)
---
 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 0479cfbb3b..5701a1bcdc 100644
--- a/website/content/en/cgi/cgi-style.pl
+++ b/website/content/en/cgi/cgi-style.pl
@@ -14,7 +14,7 @@ if (!defined($hsty_base)) {
     # 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.
     if (!defined($ENV{'HTTP_HOST'}) ||
-	$ENV{'HTTP_HOST'} =~ /(docs|man|man-dev|people|ports|mailarchive.ysv).freebsd.org/i) {
+	$ENV{'HTTP_HOST'} =~ /(docs|man|man-dev|people|ports).freebsd.org/i) {
 
 	$hsty_base = '//www.FreeBSD.org'
     } else {