From owner-dev-commits-doc-all@freebsd.org Thu Apr 29 18:49:01 2021 Return-Path: Delivered-To: dev-commits-doc-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 32CC7633A08 for ; Thu, 29 Apr 2021 18:49:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FWPfj0tclz3C4k; Thu, 29 Apr 2021 18:49:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0F74A1F29B; Thu, 29 Apr 2021 18:49:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13TIn0T3081329; Thu, 29 Apr 2021 18:49:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13TIn08b081328; Thu, 29 Apr 2021 18:49:00 GMT (envelope-from git) Date: Thu, 29 Apr 2021 18:49:00 GMT Message-Id: <202104291849.13TIn08b081328@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: =?utf-8?B?U3RlZmFuIEXDn2Vy?= Subject: git: 9a0fb30847 - main - themes/beastie/static/js: add cgit.freebsd.org to RE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: se X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9a0fb308473f4272035f7b441d23652adf8ef753 Auto-Submitted: auto-generated X-BeenThere: dev-commits-doc-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the doc repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2021 18:49:01 -0000 The branch main has been updated by se (ports, src committer): URL: https://cgit.FreeBSD.org/doc/commit/?id=9a0fb308473f4272035f7b441d23652adf8ef753 commit 9a0fb308473f4272035f7b441d23652adf8ef753 Author: Stefan Eßer AuthorDate: 2021-04-29 18:43:13 +0000 Commit: Stefan Eßer CommitDate: 2021-04-29 18:43:13 +0000 themes/beastie/static/js: add cgit.freebsd.org to RE The regular expression that matches the official FreeBSD hosts has been extended to cover cgit.freebsd.org. The match for svnweb.freebsd.org has not been removed at this time. Approved by: wosch Differential Revision: https://reviews.freebsd.org/D29857 --- website/content/en/layout/js/google.js | 2 +- website/themes/beastie/static/js/google.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/content/en/layout/js/google.js b/website/content/en/layout/js/google.js index d6aac94338..34bfefcc94 100644 --- a/website/content/en/layout/js/google.js +++ b/website/content/en/layout/js/google.js @@ -16,7 +16,7 @@ var h = document.location.hostname; * Check that the hosting domain is actually a FreeBSD.org domain, so * we don't accidentally obtain data from mirrors. */ -var fbsdregex = /((docs|security|svnweb|wiki|www)\.freebsd\.org|google\.com)$/i; +var fbsdregex = /((docs|security|svnweb|cgit|wiki|www)\.freebsd\.org|google\.com)$/i; if (typeof navigator.doNotTrack !== "undefined" && (navigator.doNotTrack == "yes" || navigator.doNotTrack == "1")) { allow_track = false; diff --git a/website/themes/beastie/static/js/google.js b/website/themes/beastie/static/js/google.js index d6aac94338..34bfefcc94 100644 --- a/website/themes/beastie/static/js/google.js +++ b/website/themes/beastie/static/js/google.js @@ -16,7 +16,7 @@ var h = document.location.hostname; * Check that the hosting domain is actually a FreeBSD.org domain, so * we don't accidentally obtain data from mirrors. */ -var fbsdregex = /((docs|security|svnweb|wiki|www)\.freebsd\.org|google\.com)$/i; +var fbsdregex = /((docs|security|svnweb|cgit|wiki|www)\.freebsd\.org|google\.com)$/i; if (typeof navigator.doNotTrack !== "undefined" && (navigator.doNotTrack == "yes" || navigator.doNotTrack == "1")) { allow_track = false;