From beb370801fc0a140fa311f85c01d0fcf72c7cb99 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 10 Nov 2016 23:34:33 +0100 Subject: [PATCH] Fix #141 - Add "Server: Mastodon" header to responses --- config/application.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/application.rb b/config/application.rb index dfe49b8ec5..5b5e66ca75 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'