diff options
author | maxypy <maxime@mpigou.fr> | 2017-04-14 11:09:20 +0200 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-14 11:09:20 +0200 |
commit | a6807201d2003fc0d544813ba67cfe315d829e06 (patch) | |
tree | 1e3578335daf86c70e552b46d7aafea031f1a2ee /app/views/home | |
parent | 4445ebdad2b8882afb86f184dd887e4ded84b90a (diff) |
Implementing Subresource Integrity (#1729)
* Add sprockets-rails to Gemfile * Add sprockets-rails to Gemfile.lock * Update show.html.haml * Update index.html.haml * Update admin.html.haml * Update auth.html.haml * Update embedded.html.haml * Update public.html.haml
Diffstat (limited to 'app/views/home')
-rw-r--r-- | app/views/home/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml index 9e3b94463..6cb715576 100644 --- a/app/views/home/index.html.haml +++ b/app/views/home/index.html.haml @@ -3,6 +3,6 @@ window.STREAMING_API_BASE_URL = '#{Rails.configuration.x.streaming_api_base_url}'; window.INITIAL_STATE = #{json_escape(render(file: 'home/initial_state', formats: :json))} - = javascript_include_tag 'application' + = javascript_include_tag 'application', integrity: true = react_component 'Mastodon', default_props, class: 'app-holder', prerender: false |