2020-07-25 22:17:39 +02:00
|
|
|
From f3b85ab3ac139d8ec51c09aa5e0d430d65e35a96 Mon Sep 17 00:00:00 2001
|
2020-07-11 02:48:54 +02:00
|
|
|
From: Luke Granger-Brown <git@lukegb.com>
|
|
|
|
Date: Sat, 11 Jul 2020 00:46:13 +0000
|
2020-07-26 02:17:00 +02:00
|
|
|
Subject: [PATCH 6/7] Always use Google Fonts.
|
2020-07-11 02:48:54 +02:00
|
|
|
|
|
|
|
We're not a corporate, and we're not behind the GFW. Always use Google Fonts,
|
|
|
|
because even though we no longer get the caching benefits (boo, browsers),
|
|
|
|
it is still a better geographically-distributed CDN.
|
|
|
|
---
|
|
|
|
java/com/google/gerrit/httpd/raw/IndexHtmlUtil.java | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/java/com/google/gerrit/httpd/raw/IndexHtmlUtil.java b/java/com/google/gerrit/httpd/raw/IndexHtmlUtil.java
|
|
|
|
index d5f43de025..9c68a1d327 100644
|
|
|
|
--- a/java/com/google/gerrit/httpd/raw/IndexHtmlUtil.java
|
|
|
|
+++ b/java/com/google/gerrit/httpd/raw/IndexHtmlUtil.java
|
|
|
|
@@ -231,7 +231,7 @@ public class IndexHtmlUtil {
|
|
|
|
if (urlParameterMap.containsKey("ce")) {
|
|
|
|
data.put("polyfillCE", "true");
|
|
|
|
}
|
|
|
|
- if (urlParameterMap.containsKey("gf")) {
|
|
|
|
+ if (/* urlParameterMap.containsKey("gf") || */ true) {
|
|
|
|
data.put("useGoogleFonts", "true");
|
|
|
|
}
|
|
|
|
|
|
|
|
--
|
|
|
|
2.27.0
|
|
|
|
|