1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Fix missing default headers

This commit is contained in:
Eugen Rochko 2016-11-02 13:12:18 +01:00
parent 9467b900a2
commit a59d10d3df

View file

@ -38,7 +38,9 @@ module Mastodon
end
config.action_dispatch.default_headers = {
'X-Frame-Options' => 'DENY'
'X-Frame-Options' => 'DENY',
'X-Content-Type-Options' => 'nosniff',
'X-XSS-Protection' => '1; mode=block'
}
end
end