about summary refs log tree commit diff
path: root/app/views/home
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2017-04-15 22:48:30 +0200
committerGitHub <noreply@github.com>2017-04-15 22:48:30 +0200
commit0d83569899155e5d5c17fff0c69e533df2f34d42 (patch)
tree31f23d8ea68732a6e3f43755b2237a429586f532 /app/views/home
parent515434ed87dea56b853d41b2af2ee1fd7773ccea (diff)
Fix cross-origin integrity (#1871)
See <https://glitch.social/users/bea/updates/434>
Diffstat (limited to 'app/views/home')
-rw-r--r--app/views/home/index.html.haml2
1 files changed, 1 insertions, 1 deletions
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