Browse Source

Fix #141 - Add "Server: Mastodon" header to responses

closed-social-glitch-2
Eugen Rochko 7 years ago
parent
commit
ff229aa978
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      config/application.rb

+ 1
- 0
config/application.rb View File

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

Loading…
Cancel
Save