diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-10 23:34:33 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-10 23:34:33 +0100 |
commit | ff229aa978d774d9ab067f0cbe345ccbe0f5658c (patch) | |
tree | 728632310e5dc7d88386bfda6a0a9cf4bef75bb0 /config | |
parent | 1c17b932fe85680ee65e53c09351adb353840235 (diff) |
Fix #141 - Add "Server: Mastodon" header to responses
Diffstat (limited to 'config')
-rw-r--r-- | config/application.rb | 1 |
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' |