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

master
Eugen Rochko 8 years ago
parent 1c17b932fe
commit ff229aa978
  1. 1
      config/application.rb

@ -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