From 0d83569899155e5d5c17fff0c69e533df2f34d42 Mon Sep 17 00:00:00 2001 From: Eugen Date: Sat, 15 Apr 2017 22:48:30 +0200 Subject: Fix cross-origin integrity (#1871) See --- app/views/home/index.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/home') diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml index 5b6f5b855..df4223ed2 100644 --- a/app/views/home/index.html.haml +++ b/app/views/home/index.html.haml @@ -1,6 +1,6 @@ - content_for :header_tags do %script#initial-state{:type => 'application/json'}!= json_escape(render(file: 'home/initial_state', formats: :json)) - = javascript_include_tag 'application', integrity: true + = javascript_include_tag 'application', integrity: true, crossorigin: 'anonymous' = react_component 'Mastodon', default_props, class: 'app-holder', prerender: false -- cgit