PolyGerrit: Fix loading favicon on a prefixed url
Bug: Issue 6166
Change-Id: I518534a2edfcb844c37e59f33985533e0a01bca0
(cherry picked from commit 6395853763)
This commit is contained in:
@@ -31,6 +31,8 @@
|
|||||||
<script>window.CANONICAL_PATH = '{$canonicalPath}';</script>{\n}
|
<script>window.CANONICAL_PATH = '{$canonicalPath}';</script>{\n}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
<link rel="icon" type="image/x-icon" href="{$canonicalPath}/favicon.ico">{\n}
|
||||||
|
|
||||||
// SourceCodePro fonts are used in styles/fonts.css
|
// SourceCodePro fonts are used in styles/fonts.css
|
||||||
// @see https://github.com/w3c/preload/issues/32 regarding crossorigin
|
// @see https://github.com/w3c/preload/issues/32 regarding crossorigin
|
||||||
<link rel="preload" href="{$staticResourcePath}/fonts/SourceCodePro-Regular.woff2" as="font" type="font/woff2" crossorigin>{\n}
|
<link rel="preload" href="{$staticResourcePath}/fonts/SourceCodePro-Regular.woff2" as="font" type="font/woff2" crossorigin>{\n}
|
||||||
|
|||||||
Reference in New Issue
Block a user