logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: ff229aa978d774d9ab067f0cbe345ccbe0f5658c
parent: 1c17b932fe85680ee65e53c09351adb353840235
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Thu, 10 Nov 2016 23:34:33 +0100

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

Diffstat:

Mconfig/application.rb1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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'