Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150601132
D29857.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D29857.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D29857: Add cgit.freebsd.org to regular expression in google.js
Attached
Detach File
Event Timeline
Log In to Comment