Fix missing default headers
parent
e7035a4d39
commit
45c22cd9a4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue