Page MenuHomeFreeBSD

D29857.diff
No OneTemporary

D29857.diff

diff --git a/website/content/en/layout/js/google.js b/website/content/en/layout/js/google.js
--- a/website/content/en/layout/js/google.js
+++ b/website/content/en/layout/js/google.js
@@ -16,7 +16,7 @@
* 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
--- a/website/themes/beastie/static/js/google.js
+++ b/website/themes/beastie/static/js/google.js
@@ -16,7 +16,7 @@
* 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;

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 3, 5:31 PM (4 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30770311
Default Alt Text
D29857.diff (1 KB)

Event Timeline