]> cat aescling's git repositories - mastodon.git/commitdiff
Fix #141 - Add "Server: Mastodon" header to responses
authorEugen Rochko <eugen@zeonfederated.com>
Thu, 10 Nov 2016 22:34:33 +0000 (23:34 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 10 Nov 2016 22:34:33 +0000 (23:34 +0100)
config/application.rb

index dfe49b8ec53736188e25c403fc0903817f6a5af9..5b5e66ca7591e17d53d1c9aa8f1e4650e8486380 100644 (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'