fe225d48a1
Brings us back to a stable version of Gerrit instead of a random commit. Note that Gerrit 3.4.1 is out, but due to a bug it can not be built publicly because it accidentally points at a private submodule (this is being fixed upstream). Change-Id: I0376c63a649498cef999dfa99bfccba511f2c8da Reviewed-on: https://cl.tvl.fyi/c/depot/+/3444 Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi>
28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
From d71f51afe12a280b92831070a583b15c8b6bc2f4 Mon Sep 17 00:00:00 2001
|
|
From: Luke Granger-Brown <git@lukegb.com>
|
|
Date: Sat, 11 Jul 2020 00:46:13 +0000
|
|
Subject: [PATCH 6/7] Always use Google Fonts.
|
|
|
|
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 a9cfceb3b6..9c287c6e45 100644
|
|
--- a/java/com/google/gerrit/httpd/raw/IndexHtmlUtil.java
|
|
+++ b/java/com/google/gerrit/httpd/raw/IndexHtmlUtil.java
|
|
@@ -184,7 +184,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.32.0
|
|
|