mirror of
https://github.com/discourse/discourse.git
synced 2026-08-13 06:25:11 -05:00
FEATURE: try adding some preload hints for chrome
This commit is contained in:
@@ -65,4 +65,4 @@
|
||||
})();
|
||||
</script>
|
||||
|
||||
<%= script 'browser-update' %>
|
||||
<%= preload_script 'browser-update' %>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
<% font_domain = "#{request.protocol}#{request.host_with_port}&2" %>
|
||||
|
||||
<link rel="preload" href="<%=asset_path "fontawesome-webfont.woff2"%>" as="font" type="font/woff2" crossorigin />
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: 'FontAwesome';
|
||||
|
||||
Reference in New Issue
Block a user