PolyGerrit: Fix loading favicon on a prefixed url

Bug: Issue 6166
Change-Id: I518534a2edfcb844c37e59f33985533e0a01bca0
(cherry picked from commit 6395853763)
This commit is contained in:
Paladox none
2017-05-10 17:12:49 +00:00
parent ac88bd0fa8
commit bc9ea8ce0b

View File

@@ -31,6 +31,8 @@
<script>window.CANONICAL_PATH = '{$canonicalPath}';</script>{\n}
{/if}
<link rel="icon" type="image/x-icon" href="{$canonicalPath}/favicon.ico">{\n}
// SourceCodePro fonts are used in styles/fonts.css
// @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}