about summary refs log tree commit diff
path: root/app/views/home/index.html.haml
diff options
context:
space:
mode:
authorOndřej Hruška <ondra@ondrovo.com>2017-10-11 21:27:17 +0200
committerOndřej Hruška <ondra@ondrovo.com>2017-10-11 21:27:17 +0200
commit0bf9261e65b08cb54f43303c20d693649e16c079 (patch)
treecfb53d634da666fbc75b3854199fd44201085bf9 /app/views/home/index.html.haml
parent3cc6255a7e01645799be7af01de0d7c2ec18832a (diff)
parent6bc07d3de37f8bcfdd3324eb5aca05bee0e8d19c (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'app/views/home/index.html.haml')
-rw-r--r--app/views/home/index.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml
index 3b4219c56..c3f5cb842 100644
--- a/app/views/home/index.html.haml
+++ b/app/views/home/index.html.haml
@@ -1,4 +1,10 @@
 - content_for :header_tags do
+  %link{ href: asset_pack_path('features/getting_started.js'), crossorigin: 'anonymous', rel: 'preload', as: 'script' }/
+  %link{ href: asset_pack_path('features/compose.js'), crossorigin: 'anonymous', rel: 'preload', as: 'script' }/
+  %link{ href: asset_pack_path('features/home_timeline.js'), crossorigin: 'anonymous', rel: 'preload', as: 'script' }/
+  %link{ href: asset_pack_path('features/notifications.js'), crossorigin: 'anonymous', rel: 'preload', as: 'script' }/
+  %link{ href: asset_pack_path('features/community_timeline.js'), crossorigin: 'anonymous', rel: 'preload', as: 'script' }/
+  %link{ href: asset_pack_path('features/public_timeline.js'), crossorigin: 'anonymous', rel: 'preload', as: 'script' }/
   %meta{name: 'applicationServerKey', content: Rails.configuration.x.vapid_public_key}
   %script#initial-state{ type: 'application/json' }!= json_escape(@initial_state_json)