1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-19 00:12:51 +01:00

Fix fonts precaching (#3338)

* Fix font urls

* Don't zopfli nonexisting fonts
This commit is contained in:
Paulus Schoutsen
2019-07-10 08:18:04 -07:00
committed by GitHub
parent 628692b2e9
commit 2929db5ba4
3 changed files with 5 additions and 9 deletions

View File

@@ -5,13 +5,13 @@
<link rel="preload" href="<%= latestPageJS %>" as="script" crossorigin="use-credentials" />
<link
rel="preload"
href="/static/fonts/roboto/Roboto-Light.ttf"
href="/static/fonts/roboto/Roboto-Light.woff2"
as="font"
crossorigin
/>
<link
rel="preload"
href="/static/fonts/roboto/Roboto-Regular.ttf"
href="/static/fonts/roboto/Roboto-Regular.woff2"
as="font"
crossorigin
/>