Skip to content
Snippets Groups Projects
Commit a59d10d3 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix missing default headers

parent 9467b900
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment