about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-10 23:34:33 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-10 23:34:33 +0100
commitff229aa978d774d9ab067f0cbe345ccbe0f5658c (patch)
tree728632310e5dc7d88386bfda6a0a9cf4bef75bb0
parent1c17b932fe85680ee65e53c09351adb353840235 (diff)
Fix #141 - Add "Server: Mastodon" header to responses
-rw-r--r--config/application.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
index dfe49b8ec..5b5e66ca7 100644
--- a/config/application.rb
+++ b/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'