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>
26 lines
960 B
Diff
26 lines
960 B
Diff
From bd7db44cabb6de64f03adbaf5e24c73e022a8932 Mon Sep 17 00:00:00 2001
|
|
From: Luke Granger-Brown <git@lukegb.com>
|
|
Date: Sat, 11 Jul 2020 00:45:57 +0000
|
|
Subject: [PATCH 5/7] When using local fonts, always assume Gerrit is mounted
|
|
at the root.
|
|
|
|
---
|
|
polygerrit-ui/app/rollup.config.js | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/polygerrit-ui/app/rollup.config.js b/polygerrit-ui/app/rollup.config.js
|
|
index d93b5eab39..c862c9bbae 100644
|
|
--- a/polygerrit-ui/app/rollup.config.js
|
|
+++ b/polygerrit-ui/app/rollup.config.js
|
|
@@ -50,7 +50,7 @@ const importLocalFontMetaUrlResolver = function() {
|
|
name: 'import-meta-url-resolver',
|
|
resolveImportMeta: function (property, data) {
|
|
if(property === 'url' && data.moduleId.endsWith('/@polymer/font-roboto-local/roboto.js')) {
|
|
- return 'new URL("..", document.baseURI).href';
|
|
+ return 'new URL("/", document.baseURI).href';
|
|
}
|
|
return null;
|
|
}
|
|
--
|
|
2.32.0
|
|
|