From: Eugen Rochko Date: Thu, 10 Nov 2016 22:34:33 +0000 (+0100) Subject: Fix #141 - Add "Server: Mastodon" header to responses X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=ff229aa978d774d9ab067f0cbe345ccbe0f5658c;p=mastodon.git Fix #141 - Add "Server: Mastodon" header to responses --- 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'