From bbed29ba57ee889d10b726fa06a29a7da9a5d784 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 20 Apr 2017 11:18:37 -0400 Subject: [PATCH] correct font preloading --- app/views/common/_special_font_face.html.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/common/_special_font_face.html.erb b/app/views/common/_special_font_face.html.erb index 2462461c24e..2f4c0b2083c 100644 --- a/app/views/common/_special_font_face.html.erb +++ b/app/views/common/_special_font_face.html.erb @@ -9,12 +9,13 @@ %> <% font_domain = "#{request.protocol}#{request.host_with_port}&2" %> +<% woff2_url = "#{asset_path("fontawesome-webfont.woff2")}?#{font_domain}&v=4.5.0".html_safe %> -" as="font" type="font/woff2" crossorigin /> +