diff options
author | Ondřej Hruška <ondra@ondrovo.com> | 2017-10-11 21:27:17 +0200 |
---|---|---|
committer | Ondřej Hruška <ondra@ondrovo.com> | 2017-10-11 21:27:17 +0200 |
commit | 0bf9261e65b08cb54f43303c20d693649e16c079 (patch) | |
tree | cfb53d634da666fbc75b3854199fd44201085bf9 /app/views/home | |
parent | 3cc6255a7e01645799be7af01de0d7c2ec18832a (diff) | |
parent | 6bc07d3de37f8bcfdd3324eb5aca05bee0e8d19c (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'app/views/home')
-rw-r--r-- | app/views/home/index.html.haml | 6 |
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) |